Moroccan Dama Game is an online implementation of the traditional Moroccan board game, also known as Moroccan Checkers or Moroccan Draughts. This repository contains the source code for the game developed using React for the frontend and Django for the backend.
- Authentic Gameplay: Experience the rich tradition of Moroccan Dama with authentic gameplay mechanics faithfully recreated in a digital environment.
- Multiplayer Mode: Challenge your friends or other players worldwide in real-time multiplayer matches.
- Single Player Mode: Sharpen your skills against an AI opponent with adjustable difficulty levels.
- Responsive Design: Enjoy seamless gameplay across various devices and screen sizes, thanks to the responsive design implemented using React.
- Backend Management: Efficiently manage game data and user accounts with the Django backend, ensuring smooth operation and scalability.
- Frontend: React.js
- Backend: Django
- Database: PostgreSQL (or any other database supported by Django)
- Authentication: Django Authentication System
- Websockets: For real-time communication in multiplayer mode
To run the Moroccan Dama Game locally, follow these steps:
- Clone this repository to your local machine.
- Navigate to the
frontend
directory and runnpm install
to install dependencies. - Run
npm start
to start the frontend server. - Navigate to the
backend
directory and create a virtual environment. - Activate the virtual environment and run
pip install -r requirements.txt
to install backend dependencies. - Set up your database settings in
backend/settings.py
. - Run
python manage.py migrate
to apply migrations. - Finally, run
python manage.py runserver
to start the backend server.
Contributions to Moroccan Dama Game are welcome! If you'd like to contribute, please fork the repository and create a pull request with your proposed changes.