A hurricane of letters is coming your way! Luckily, your keyboard will help you block the typography impacts!
A Guitar Hero-like, key stroke sensitive, letter shooter game to practice your typing skills. The object of the game is to get as many points as possible by pressing the corresponding key to the incoming letters. Video game developed at IronHack WebDev bootcamp (Module 1 Project)
Letter characters appear sequentially and they can be neutralized by pressing the corresponding key on the keyboard. The characters can only be blocked once they shine, when they enter the bottom active area. The game is over once the lives are wiped out.
index.html main.js game.js letter.js data.js
- loads the JavaScript files
- loads the audios
- connects the stylesheet document
- createPreSplashScreen
- loadSplashScreen
- removeSplashScreen / removeSplashScreen
- createInfoScreen / removeInfoScreen
- createGameScreen / removeGameScreen
- createGameOverScreen / removeGameOverScreen
- startGame
- loadInfo
- loadGameImages
- endGame
- playBackgroundAudio
- buildDom
- constructor
- start
- levelManager
- mainLoop
- addLetter
- updateStats
- cleanLetterArray
- handleKeyStrokes
- gameOver
- buildLevelDoms
- constructor
- updatePosition
- draw
- printImage
- letters array
- explosion animation array
- win animation array
Definition of the different states and their transition (transition functions)
- load background image, title, start and How to play button.
- run gameScreen when Start button is clicked.
- load infoScreen when How to play button is clicked.
- load background image, contents and go back button.
- return to startScreen when back button is clicked.
- run the Game if lives are > 0.
- when lifes <= 0, load gameOverScreen.
- levels increase after certain time
- letter speed increases with each level
- background image changes in each level
-
show Game Over message, gameScore and tryAgain button.
-
run gameScreen when tryAgain button is clicked.
- key stroke recognition.
- letters falling printing in a 2D environment.
- limit the active area.
- shining letter animation.
- explosion animation when failed to press the correct key
- win animation when the keystroke is correct
- scores and lives implementation
- difficulty levels implementation
- background animation
- 3D-like visual implementation of the letters.
- background shakes on each impact.
URls for the project repo and deploy Link Repo Link Deploy /
URls for the project presentation (slides) Link Slides.com