Skip to content

markdennis2121/flask-random-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿงพ README.md Template markdown

๐ŸŽฒ Flask Random Number Guessing Game โ€“ by Mark Dennis

A responsive web-based guessing game built with Flask. Pick your difficulty, guess the secret number, get hot/cold hints, track your accuracy, and replay as many times as you like!


๐Ÿš€ Features

  • Difficulty Modes: Easy (1โ€“50), Medium (1โ€“100), Hard (1โ€“200)
  • Proximity Hints: โ€œVery close!โ€, โ€œToo high!โ€, โ€œToo low!โ€
  • Accuracy Scoring: Score out of 100 based on guess precision
  • Guess History: See all your previous guesses
  • Replay & Reset: Start new games without restarting the server
  • Responsive UI: Modern CSS, centered card layout, speech-bubble feedback

๐Ÿ›  Tech Stack

  • Python 3.x
  • Flask
  • Jinja2 templating
  • HTML5 & CSS3
  • Session management

โ–ถ๏ธ How to Run

  1. Install dependencies:
    pip install flask

Run the app:

bash python app.py Open your browser:

http://127.0.0.1:5000 ๐Ÿ‘จโ€๐Ÿ’ป About Created by Mark Dennis ๐Ÿ”— GitHub Profile ๐Ÿ“ Bacolod, Philippines

๐Ÿ“Œ Future Enhancements Add leaderboard or score tracking

Store game history in a database

Add sound effects or animations

Deploy to the web via Render or Vercel

๐Ÿค Contributions Suggestions and forks are welcome! Feel free to star โญ or open an issue.

About

๐ŸŽฒ A Flask-powered web game where players guess a random number with hints, scoring, and replay simple, responsive, and fun.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors