/bitfields

Text-based terminal-style game where you can explore procedurally generated maps with other players, build bases and fight others in your web browser!

Primary LanguagePython

Bitfields

Explore procedurally generated maps with other players, build bases and fight others in your web browser!

My latest project, a text-based .io style game powered by python, websockets and javascript canvas. Supports multiplayer and custom procedural map generation using simplex noise.

Live demo!

To get started:

Create a server:

Inside bitfields/server:

  • Make sure you have at least python 3.7 installed.

  • pip3 install -r requirements.txt

  • Tweak config.py if necessary

  • python3 main.py

Set up frontend client

Inside bitfields/client:

  • Run yarn install (npm install)

  • Start development server: yarn dev (npm run dev)

Next head to localhost:3000

OR alternatively export frontend as static web page for serverless use:

Inside bitfields/client: yarn export (npm run export)

Contributing

All help is much appreciated, so feel free to contribute.

Screenshots

To Do

  • Spawn points
  • Cave rooms / systems
  • Breach ammunition? Mines?
  • Announce kills / deaths
  • Teams?
  • Color schemes
  • Place ladders?

Bugs

  • Double clicking connect / play creates 2 players