This project aims to demonstrate how to use state pattern in the games.

HOW TO PLAY

Your health is decreasing by time passing.

If you chew an apple while in growing state, you gain a little bit health.

If you chew an apple its whole state, you gain a lot of health.

If you chew an apple its chewed state, you gain no health.

If you chew an apple its rotten state, you lose health.

Leave a comment

Log in with itch.io to leave a comment.