https://github.com/ryanfleck/miscreant-backend
Networked Godot experiment.
https://github.com/ryanfleck/miscreant-backend
godot multiplayer node-js
Last synced: about 2 months ago
JSON representation
Networked Godot experiment.
- Host: GitHub
- URL: https://github.com/ryanfleck/miscreant-backend
- Owner: RyanFleck
- License: mit
- Created: 2020-10-11T09:51:22.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-05-30T21:26:05.000Z (about 5 years ago)
- Last Synced: 2025-03-28T07:31:45.921Z (about 1 year ago)
- Topics: godot, multiplayer, node-js
- Language: JavaScript
- Homepage:
- Size: 17.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Miscreant-Backend
Corresponding frontend is
## Iteration 2 Notes
Basic websocket backend deployed and working on Heroku. Hooray!
Server kicks users who fail to check in at least every two seconds.
## Iteration 1 Notes
Conclusions from this experiment:
- It is easy to program a simple TCP game server.
- It is impossible to run a simple TCP game server from Heroku, you need to use web sockets.
Console output looks like this:
```
Player with id 5dad3635-eec8-4df9-9eda-0bbdcfbb08b0 is at 0,0
Player with id eb223612-2576-4b49-af49-61e7edc0936f is at 0,0
Active on port 1984
[
'eb223612-2576-4b49-af49-61e7edc0936f',
'5dad3635-eec8-4df9-9eda-0bbdcfbb08b0'
]
There are 2 people in the lobby
```