https://github.com/galkakg/fruit-spin-game
Slot machine game using FastAPI for backend and HTML/CSS/JS for frontend.
https://github.com/galkakg/fruit-spin-game
fastapi python
Last synced: about 2 months ago
JSON representation
Slot machine game using FastAPI for backend and HTML/CSS/JS for frontend.
- Host: GitHub
- URL: https://github.com/galkakg/fruit-spin-game
- Owner: GalkaKG
- License: gpl-3.0
- Created: 2025-03-29T08:51:00.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-29T09:25:46.000Z (about 1 year ago)
- Last Synced: 2025-03-29T10:23:01.770Z (about 1 year ago)
- Topics: fastapi, python
- Language: HTML
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fruit Spin Game 🍒🍋🍊
A simple fruit slot game powered by **FastAPI** for the backend and **HTML/CSS** for the frontend. Spin the reels and see if you can win!
## Features
- Slot machine with random fruit symbols
- Winning combinations checked for rows, columns, and diagonals
- FastAPI backend for managing spins and game logic
## Getting Started
### Prerequisites
- Python 3.8+
- FastAPI
- Uvicorn (for running the FastAPI app)
### Installation
1. Clone the repository:
```bash
git clone https://github.com/GalkaKG/fruit-spin-game.git
cd fruit-spin-game
2. Install dependencies:
```bash
pip install -r requirements.txt
3. Run the FastAPI server:
```bash
uvicorn main:app --reload
4. Open your browser and go to ``http://localhost:8000`` to play the game!
