No project description provided
Project description
Complete rewrite of my previous multi-player version.
If in future a multi-player will be coded I will not use server polling.
The Artificial Intelligence is not that good, but takes a beginning user through a good practice round.
This version can be included and are there to be played against the computer.
Enjoy!
django-chess
------------
1. django-admin.py startproject project
2. Install the package to your python site-packages folder or just use it as a module in your project.
3. Add 'chess' to INSTALLED_APPS in your settings file.
4. In your projects urls add the following code:
from chess import urls as chess_urls
urlpatterns = patterns('',
...
url(r'^chess/', include(chess_urls)),
url(r'^admin/', include(admin.site.urls)),
...
)
5. python manage.py runserver --settings=project.settings
6. http://127.0.0.1:8000/chess/chess/
If in future a multi-player will be coded I will not use server polling.
The Artificial Intelligence is not that good, but takes a beginning user through a good practice round.
This version can be included and are there to be played against the computer.
Enjoy!
django-chess
------------
1. django-admin.py startproject project
2. Install the package to your python site-packages folder or just use it as a module in your project.
3. Add 'chess' to INSTALLED_APPS in your settings file.
4. In your projects urls add the following code:
from chess import urls as chess_urls
urlpatterns = patterns('',
...
url(r'^chess/', include(chess_urls)),
url(r'^admin/', include(admin.site.urls)),
...
)
5. python manage.py runserver --settings=project.settings
6. http://127.0.0.1:8000/chess/chess/