Update

Fixed a couple more bugs today. Got to a root cause of a run time issue I was having. Nothing was going wrong, but just hate those exceptions not being handled.Added some features:

  • Chat clears when switching rooms.
  • Added more CLI commands for the server.

Finally got everything squared down to handle the actual match events. Finally got the INIT command on the client to get the work flow going. Workflow I need to design.

I have most of it on my head but will start implementing in the following days/weeks. As a side effect the AI for training will be worked as well. So far it does the following:

  • Trainer gets one of his apprentices to face you, after complaining he is too old to have a match.
  • The apprentice is generated if none available.
  • The apprentice challenges you.
  • After accepting you are moved into the Match room.
  • Apprentice move to the match room as well.
  • The referee is generated if needed, although I’m not sure where he ends up as it doesn’t make it to the match yet.
  • The INIT event is sent so participants can start the workflow.

From there I’ll be building both server and client logic to go thru the flow.

Finally getting to the exciting stuff!

Leave a comment