An open API service indexing awesome lists of open source software.

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.

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!