ZavaruKitsu / webgame

Capitalists game for intellectuals.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Capitalists game

Demo

Demo

Demo

Demo

Demo

Demo

Task

Create a game with backend.

Features

  • Live time (using sockets.io)
  • Pretty designed
  • Easy to play
  • Has AI enemies (trained using scikit-learn)
  • Scoreboards
  • Can be dockerized

How to run

git clone https://github.com/ZavaruKitsu/webgame
cd webgame

# setup virtual environment for backend
cd backend
python -m venv venv
pip install -r requirements.txt

# setup deps for frontend
cd ../frontend
yarn intall

# 1 terminal (run backend)
python main.py

# 2 terminal (run game)
yarn dev

# now open http://localhost:3000

Project structure

backend

Backend by itself, contains train data for AI and game essentials.

frontend

Frontend written on Nuxt.TS 2.

Colab

Colab for AI model training.

Credits

  • Icons8 for all *.svg files

About

Capitalists game for intellectuals.


Languages

Language:Python 44.7%Language:Vue 31.0%Language:TypeScript 14.2%Language:JavaScript 7.5%Language:CSS 2.3%Language:Dockerfile 0.2%