An arcade-style space-shooter game based on training newer developers for quick acquisition of programming logic outcomes through micro-sized coding questions.
Built with the awesome Kontra JS game engine and as much ES6 as I can fit into a program.
If you want to have a look at the game as it's being built and play with it, it's currently deployed Here
-
“Enemies” with argument-style coding questions on them will appear from the top of the screen at random. You have to change your ship’s bullet color to fire a “truthy” (green) or “falsy” (red) bullet at the question to gain points and/or eliminate the enemy.
-
Questions will show up like the following:
(“1” !== 1)
(“1" == 1)
(1 == 1)
(!!(10000))
((Math.abs(-3) < 2) || (0.3+0.2 === 0.1))
- Each one will equate to a certain value of true or false and the bullet fired at it will either be a right or wrong answer.
- 3 Wrong answers in a single level and it's GAME OVER
- Arrow keys to move your ship/avoid "enemies"
- X to shoot
- Z to switch your bullets
- Green bullets are truthy
- Red bullets are falsy
- D will open the debug mode
- The player's DX and DY (Player's directional velocity) is show in the top-left.
- The mouse X and Y pointer positioning will be shown hovering next to the mouse itself.
- Fork (or clone) the project.
- NPM Install to get the required node modules.
- Run
NPM start
from the terminal to launch a server. - Submit your pull request and I'll review it and maybe add it in or at least give feedback on it!
- Have fun!
- Need parallax scrolling background. Prefer the star positions to be randomized and scroll top-to-bottom.
- Instruction manual in the website.
- I need some (better) mobile responsive styling to resize the canvas for mobile phones. 3.5 Need on-screen controls for mobile.
- Build out a page in the app for a leaderboard (2.0 objective).
- Need more JS argument-style questions!
- Matter of fact, I need a database full of them?
- If I get that, I need to randomly pluck results out of said database.
- ... More ideas/programming languages support for questions?
- Need a graphical assets overhaul.
Need sound effects!- Difficulty levels.
- Levels in general...
- Pause menu/capability
- Fix the webpack to pack images. ...Perhaps in Base 64 format?