/Program-Lunar-Jeep

Mini 2D game created in vanilla JS. Plan the route and lead the vehicle to the base.

Primary LanguageJavaScript

Program Lunar Jeep

To run locally, open the index.html file in your browser.

Mini game created in vanilla JS. Plan the route and lead the vehicle to the base. The concept is very simple - teaching 2D cartesian coordinates, and you can play with your siblings/nephews/children simply on a chess board, although the game use 10 x 10 board.

lunar

To add new levels create a board in level maker, then copy the whole code e.g.

[
[0,0,0,0,0,0,0,0,0,0],
[0,0,0,0,1,1,1,0,0,0],
[0,0,0,0,1,0,0,0,0,0],
[0,0,2,1,1,1,0,0,0,0],
[0,0,0,0,0,0,1,0,0,0],
[0,0,0,0,0,0,0,1,0,0],
[0,0,0,0,0,0,0,1,0,0],
[0,1,0,0,0,3,0,0,0,0],
[0,0,0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0,0,0]
]

In levels.js add the higher number at the bottom of list and paste the code.

Graphics comes from pixabay.com

Contribution

You can practice contributing by adding your level. Create level with creator and and feel free to open pull request!