Skip to content

loisekk/streamlit-UI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

๐ŸŽฏ Guess The Number ๐Ÿš— Car Race Edition | Streamlit Web App

An interactive number guessing game built with Python & Streamlit, featuring difficulty levels, smart hints, animations, and a scoring system.

๐Ÿ”น Beginner-friendly ๐Ÿ”น Hackathon-ready ๐Ÿ”น Clean UI + Logic

๐ŸŒŸ Preview

A fun web-based guessing game where logic meets UI. Guess the number, win the race, and score points!

๐Ÿš€ About the Project

Guess The Number โ€“ Car Race Edition is a Streamlit-powered web game that challenges users to guess a randomly generated number within a limited number of attempts.

Players can choose from Easy, Medium, or Hard difficulty levels. Each level adjusts the number range and allowed attempts. When the player wins, a car race animation is triggered along with a performance-based score.

This project upgrades a classic CLI game into a modern, interactive web application and was built as part of a hackathon learning experience.

โœจ Features

โœ… Difficulty Levels (Easy / Medium / Hard) โœ… Random number generation โœ… Attempt limit per level โœ… Instant feedback (Higher / Lower hints) โœ… Car race progress animation โœ… Score calculation system โœ… Game restart option โœ… Smooth UI using Streamlit

๐Ÿง  How It Works

Select a difficulty level

A random number is generated internally

Enter your guess using the UI

Receive hints after each attempt

Win the game or run out of tries

On winning โ†’ animation + score ๐ŸŽ‰

๐Ÿ› ๏ธ Tech Stack Technology Usage Python Core logic Streamlit Web UI random Number generation time Animation timing โš™๏ธ Installation & Run Locally

Clone the repository

git clone https://github.com/your-username/guess-the-number-streamlit.git

Move into the project directory

cd guess-the-number-streamlit

Install Streamlit

pip install streamlit

Run the app

streamlit run streamlit-UI.py

๐ŸŽฏ Learning Outcomes

Building interactive web apps with Streamlit

Managing game state using session_state

Writing clean and readable Python logic

Enhancing user experience with animations

Turning simple ideas into presentable projects

๐Ÿ† Hackathon Submission

๐ŸงŠ This project was developed and submitted during the Winter 5.0 Hackathon, focusing on creativity, usability, and clean implementation.

๐Ÿ”ฎ Future Enhancements

๐Ÿ… Leaderboard system

๐Ÿ”Š Sound effects

๐ŸŒ™ Dark mode

๐Ÿ“ฑ Mobile-friendly layout

๐Ÿ‘ค Author

Yash Brahmankar ๐ŸŽ“ B.Tech Student ๐Ÿ Python | Streamlit | Beginner Web Apps

๐Ÿ“„ License

This project is licensed under the MIT License. You are free to use, modify, and distribute it.

โญ If you like this project, consider giving it a star on GitHub!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages