Use the left and right arrow keys or A and D to move and dodge obstacles. Each floor you pass gives you 100 points. Every coin you get gives you extra points. The closer you get to the coin's center, the more points you receive, with a maximum of 300 points per coin.
I coded this game myself, but I did get some advice from friends in person. Make sure to comment your score and if you beat the game. Thank you