/riskgame

Classic Risk Game where you can play against multiple AI agents

Primary LanguagePythonMIT LicenseMIT

riskgame

AI agents are built in python and client is built in ReactJS

Sample Run (Human vs Minimax)

Farmers Market Finder Demo

Agents Incorporated:

  • Passive Agent
  • Aggressive Agent
  • Minimax Agent
  • AStar Agent

Maps Supported:

Features:

  • Human vs AI
  • Simulation of AI vs AI using web sockets (Flask SocketIO)

Installation (Tested on Ununtu 18.04)

Python3 Flask API

$ pip3 install flask flask_cors flask_socketio
$ python3 Api.py

ReactJS

This project was originally bundled using Create React App.

  • Install dependencies
  $ cd client
  $ npm install
  • For development build
  $ yarn start
  • For production build
  $ yarn build
  $ serve -s build/