Hi,
I need to make a game in JavaScript where a user moves an image (or anything) around a grid and if they hit a wall they lose a life and in each grid box there needs to be colours and different colours have different speed affects on the player. So red could make the player move faster and blue could make it slower etc. A timer also needs to also be recording how long the player takes, to go from one side of the grid to the other.
I know the basis of JS, like variables, arrays, events and objects but I am not too sure where to start with the game. If someone could be kind enough to show me the code to make this then I can understand and build further and further, I just need some assistance in the fundamental steps above.
Thanks in advance...