https://github.com/kfields/django-arcade
Python GraphQL Game Server using Django, Ariadne, and Arcade!
https://github.com/kfields/django-arcade
ariadne asyncio django game gql graphql graphql-client graphql-server python
Last synced: 9 months ago
JSON representation
Python GraphQL Game Server using Django, Ariadne, and Arcade!
- Host: GitHub
- URL: https://github.com/kfields/django-arcade
- Owner: kfields
- License: mit
- Created: 2021-10-03T05:13:18.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-18T03:02:46.000Z (about 4 years ago)
- Last Synced: 2025-03-24T08:41:12.206Z (9 months ago)
- Topics: ariadne, asyncio, django, game, gql, graphql, graphql-client, graphql-server, python
- Language: CSS
- Homepage:
- Size: 4.9 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Django Arcade :snake: :video_game:
This repo serves as a blueprint/starter-kit to develop game servers and clients using GraphQL
Initially it uses [Django](https://www.djangoproject.com/) as the game server and [Python Arcade](https://api.arcade.academy/) for the client
The first game to be implemented is Tic-Tac-Toe
## Git
```bash
git clone https://github.com/kfields/django-arcade
cd django-arcade
poetry shell
```
## Server
```bash
cd server
poetry install
```
### First Time
```
./bin/setup
```
### After that ...
```
./bin/dev
```
### Start from Scratch: Delete the database and migrations, and re-run setup
```
./bin/nuke
```
## Client
```bash
cd client
poetry install
python client
```
## Experiments
```bash
cd experiments
poetry install
python counter.py
```
## Special Thanks
Django Bulma app from: https://github.com/lemonsaurus/django-simple-bulma
Some more stuff from: https://github.com/python-discord/site