Arrow keys or WASD. Eat all dots except for red ones- you will die. Don't touch the edges- you will die. Try and get as many points as possible.