Task: write a small text quest. The question at each next step depends on the previous answer.
Requirements:
- It must be a Maven project using the following technologies: servlets, jsp, jstl .
- Tomcat 9 will be used for launch during testing, so I advise you to use it during development as well.
- After winning or losing, it should be possible to restart the game.
- Some information must be stored in the session. It can be the name of the player, the number of games played, or something else of your choice.
- Logic should be covered by tests. Use JUnit.
- Optional requirement:add a welcome page that includes a welcome text that tells the background story to this text quest-game.
- Upload the completed project to your GitHub repository.
![](https://cdn.codegym.cc/images/article/3203b415-8e53-4652-8c93-bf982d20aa74/512.jpeg)
![](https://cdn.codegym.cc/images/article/7f3dbb49-ca21-411b-88c8-a36e2e2f8e53/512.jpeg)
An example of the logic of questions (questions can be used from the example or come up with something of your own):
![](https://cdn.codegym.cc/images/article/60b94f0f-2bdd-4ca5-96c4-7aedfe2e7a3a/1024.jpeg)
Project analysis . Watch after completion!
GO TO FULL VERSION