https://github.com/brannondorsey/oscgame
4 hour hack project at Rpi + openFrameworks workshop
https://github.com/brannondorsey/oscgame
Last synced: about 2 months ago
JSON representation
4 hour hack project at Rpi + openFrameworks workshop
- Host: GitHub
- URL: https://github.com/brannondorsey/oscgame
- Owner: brannondorsey
- Created: 2013-10-13T15:43:26.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-10-28T14:36:28.000Z (almost 12 years ago)
- Last Synced: 2025-03-01T14:28:27.098Z (7 months ago)
- Language: C++
- Size: 320 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#OSC Game
##App Size
Server app size: `1920x1080`
##Data formats
Comma-delimited list of values with vertical pipes used to separate values inside of each comma "packet"
###Client to server
Message Types:
1. Indicates that a player has joined or left the game:
- Message ID: `1`
- `messageID, isPlaying, playerID`
2. Indicates player:
- Message ID: `2`
- `messageID, playerID, size, sped, x1, y1, x2, y2, x3, y3, etc…`###Server to client
Message Types:
1. Indicates game is finished and winner
- Message ID: `3`
- `messageID, firstPlacePlayerID|score, secondPlacePlayer|score, etc...`
2. Indicates game start countdown
- Message ID: `4`
- `messageID, millisToStart`