Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake Multiplayer Game API

This project is a simple API server built with FastAPI for a multiplayer Snake game.

Requirements

  • Python 3.10+
  • FastAPI

Installation

  1. Clone the repository:

    git clone https://github.com/raphaelpra/snake-api.git
    cd snake-api
    
  2. Install the required packages:

    pip install -r requirements.txt
    

Usage

  1. Run the server:
    fastapi dev
    

And then open the url provided by the CLI

API Endpoints

The interactive documentation is available at : /docs

The beautiful documentation is available at : /redoc

Project Structure

  • main.py: Contains the FastAPI application

Game Rules

TODO

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages