Skip to content

Djangochess is an online chess platform with a custom python chess engine implemented with Django.

Notifications You must be signed in to change notification settings

jkerr0/djangochess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Djangochess

Djangochess is an online chess platform with a custom python chess engine implemented using Django, Channels, Redis and Bootstrap.

It features a lobby system in which anyone with a link can join and choose color of pieces. If any logged in player chooses a side everyone in the lobby will see player's nick appear next to the side name. Only the game owner can start a game. Then everyone is redirected to game's chessboard where players play and others can spectate.

Configuration

In order to run this project you need to install python dependencies:

  • django
  • channels
  • channels_redis
  • django-widget-tweaks
$ python -m pip install <package-name>

Then install docker and run Redis at port 6379:

$ docker run -p 6379:6379 -d redis:5

Note: You need to have Redis launched for the channel layers to work. Otherwise there will be WebSocket errors thrown in the developer console.

Now you can run:

$ python manage.py migrate

and then:

$ python manage.py runserver

About

Djangochess is an online chess platform with a custom python chess engine implemented with Django.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published