/Moroccan-Dama-Game

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.

Primary LanguageCSS

Moroccan Dama Game

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.

Features:

  • 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.

Technologies Used:

  • 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

Getting Started:

To run the Moroccan Dama Game locally, follow these steps:

  1. Clone this repository to your local machine.
  2. Navigate to the frontend directory and run npm install to install dependencies.
  3. Run npm start to start the frontend server.
  4. Navigate to the backend directory and create a virtual environment.
  5. Activate the virtual environment and run pip install -r requirements.txt to install backend dependencies.
  6. Set up your database settings in backend/settings.py.
  7. Run python manage.py migrate to apply migrations.
  8. Finally, run python manage.py runserver to start the backend server.

Contribution Guidelines:

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.