Lumberjack GAME
You are the LumberJack, try to cut the tree 🌲 You have to dodge the branches changing the side wuere you are while you are cutting the 🌲.
(CANVAS) El canvas está separado en dos "mitades" y cada vez que das la orden de talar el árbol, los rectangulos que simulan las ramas descienden. Si cuando descienden, el cuadro que representa tu posición está en la de la rama, estás muerto. El tiempo de juego también es vida del personaje, cada vez que consigues avanzar, ganas tiempo, pero conforme avanzas niveles, el tiempo avanza más rápido ( o tu vida desciende más rápido). MVP definition, deliverables.
Classes and methods definition.
Class Tree: with 2 branches (arrays)
- Create Tree
- Create Branch A / B
- Shift Branches
- Push Branches
Class LumberJack:
- Life
- Side A / B
- Nº Cutted Branches
Class Game:
- Start
- Cut Branch
- Check if is in the Correct Side to keep alive
- GameOver
Definition of the different states and their transition (transition functions)
- splashScreen
- gameScreen
- gameoverScreen
- winScreen
Task definition in order of priority