Gomoku is a classic strategy board game played by two players. The game is typically played on a 15x15 grid, where players take turns placing black or white stones on the intersections. The objective is to be the first to align five stones in a row horizontally, vertically, or diagonally. The simplicity of the rules contrasts with the game's strategic depth, making it a challenging and engaging pastime.
Install project:
git clone https://github.com/Viet281101/Gomoku.git
cd Gomoku/Install Python then:
- Run virtual environment:
python3 -m venv env
source env/bin/activate- Install Django & libraries by using
requirements.txtfile:
pip install requirements.txt
cd gomoku_backend/- Create & Apply migrations:
python manage.py makemigrations game
python manage.py migrate- Create Django admin user & add more users:
python manage.py createsuperuserthen
python manage.py create_default_usersor
python manage.py shell < shell.py- Run server django:
python manage.py runserver- Use
npmto debug:
cd gomoku_frontend/
npm install
npm run dev
