Proposal:
Simple game type, no usernames simply IDs?
One gun type
Hardcoded game server IP.
So what does what
1) Gun as brains
Takes in IR data and updates internal state, tells the gun what is
going on so it can update HUD.
Game type (Slayer -whoever is alive at the end wins or most kills in
time- no teams? or team slayer with lives where people are assigned to
either team at random)
2) Phone sets up the game, tells the gun what playerID it has
Also broadcasts status updates to the game server (unreliable but will
do for now and useful for real time views of game state and commander
stuff), to get stats.
Maybe ends game after certain time?
This means we don't need to make a recharging station to start with.
Server address hardcoded or qrcode.
===
So things we need
1) Serial protocol for sending shot messages around (Charles wants
this to be fairly simple and compact so it can be sent to various
things over i2c , bluetooth would get these messages as well)
2) Gun IR protocol (start with the same as serial then branch put a
wrapper around it if needed)
3) A simple game server that gives out an incremented playerID when it
is queried (or switches teamID as well if it is doing a team game)
This can be lan based for the moment. We will probably want to move
to having it on a server somewhere. I'll do this when I figure out
what framework to use.
4) Android app to query server for team and player ID and update the
game server of status.
5) Gun to maintain game state, such as being dead etc.
What else?
Will
So it would be cool to have a fixed target to aim at, to get the gun
and android working together and simple games being played.
Proposal:
Simple game type, no usernames simply IDs?
One gun type
Hardcoded game server IP.
So what does what
1) Gun as brains
Takes in IR data and updates internal state, tells the gun what is
going on so it can update HUD.
Game type (Slayer -whoever is alive at the end wins or most kills in
time- no teams? or team slayer with lives where people are assigned to
either team at random)