First Ironhack project : Tetris.
The project is playable on computer and phones. My principal prupose was to manipulate DOM (the game is not make with canvas) and learn how to use touch event.
keyboard | screen | action |
---|---|---|
arrow left / right | swipe left / right | go left / right |
arrow up | touch | rotate |
arrow down | maintain touch | accelerate fall |
S key | swipe up | hold the tetromino |
https://benpin31.github.io/Tetris/
- Correct some (minor) bugs due to the interface
- Create a div of rules and commands
- Improve collision gameplay : the tetrominos can't turn if collision with an other tetromino. Newer rules make it possible
- Add new themes (less retro… bloodborne ?)