aaron-jencks / Telnet-Mud

A Telnet MUD implemented in Gcc-Go
GNU General Public License v3.0
0 stars 0 forks source link

Create Game Controller #16

Open aaron-jencks opened 1 year ago

aaron-jencks commented 1 year ago

This controller will handle the action queues

aaron-jencks commented 1 year ago

This has been integrated into the player service, it's going to be connected to logging in and logging out

aaron-jencks commented 1 year ago

When trying to log out, the stop command for the action queue will be placed at the back of the queue, this will punish players for trying to start combat/queue up a bunch of actions and then logging out.

aaron-jencks commented 1 year ago

The game controller will have a parser for the commands that generate actions and will validate if the actions are valid for the current game mode of the player

aaron-jencks commented 1 year ago

You can't check validity of the game mode while queueing up actions, because you don't know what the game mode will be by the time it gets to the action being enqueued