Click here to see a live version of the website
This is a web application game that asks players to guess the answer to a text-based riddle.
- HTML5
- CSS3
- Bootstrap
- Python
- Flask
- Build a web application game that asks players to guess the answer to a pictorial or text-based riddle.
- The player is presented with an image or text that contains the riddle. Players enter their answer into a textarea and submit their answer using a form.
- If a player guesses correctly, they are redirected to the next riddle.
- If a player guesses incorrectly, their incorrect guess is stored and printed below the riddle. The textarea is cleared so they can guess again.
- Multiple players can play an instance of the game at the same time, each in their own browser. Users are identified by a unique username, but note that no authentication features such as a password are required for this project.
- Create a leaderboard that ranks top scores for all (at least recent) users
This is an online quessing game (riddle me this).The project's logic is written in Python and useses Flask to structure the project's back-end.
I used Heroku for deployment using my master branch as the source.
- Testing game play with 2 users with different sessions
- Testing game for wrong answers, attempts count and final score in the leaderboard table
- Testing the back-end code with tests and print statements
- Used html and css validator
- Google Developer Tools (responsive mode)
- Running the website in different browsers
- Running the website on different devices phones and tablets (apple, android)
The source for the riddles text is https://www.riddles.com/best-riddles
The photos in the site were obtained from Google.