[tetrinext] Re: Network protocols
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
> Have the server check each move... if it's invalid, simply discard it.
How do you propose to do that?
I've been thinking about this (before I sent my first message) and I've
come up with the idea of an 'action stream'. An 'action stream' consists
of actions that can be performed on a field.
There should not exist streams that are both legal and impossible to
produce without cheating.
The 'action stream' consists of 'actions'. This actions include:
move block left/right
move block down
drop + solidify block (this is a single 'action')
special block usage
(probably some others that I've left out)
Instead of field updates, the action stream is sent to the server. The
same action stream is fed to the field in the client program of the