Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aleksilassila/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!
https://github.com/aleksilassila/bitfields
bitfields browser-game fight nextjs players python websockets
Last synced: 3 months ago
JSON representation
Text-based terminal-style game where you can explore procedurally generated maps with other players, build bases and fight others in your web browser!
- Host: GitHub
- URL: https://github.com/aleksilassila/bitfields
- Owner: aleksilassila
- Created: 2020-05-14T20:33:05.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T05:55:47.000Z (about 2 years ago)
- Last Synced: 2024-04-20T00:04:51.363Z (10 months ago)
- Topics: bitfields, browser-game, fight, nextjs, players, python, websockets
- Language: Python
- Homepage:
- Size: 8.39 MB
- Stars: 9
- Watchers: 4
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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!](http://ec2-3-87-232-152.compute-1.amazonaws.com/bitfields)
## 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](http://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
![](screenshot1.png?raw=true "Welcome to the Bitfields!")
![](screenshot2.png?raw=true "Potentially endless procedural worlds!")
![](screenshot3.png?raw=true "Underworld cave system with limited visibility ^^")## 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