The aim of the game is to get the frog across the screen without being hit by any of the cars or drowning in the water.
Clone the project and run index.html
- Space
- R
- Up arrow/w
- Left arrow/a
- Right arrow/d
- Down arrow/s
The water collation detection does not work. The code says that if the fog is in a certain aria and on a log then the frog is fine if the frog is the that aria and not on a log the frog is dead.