Day 2


I wanted to focus on using gamestates from the start of this project to give me more control over where things are being processed.
My last effort was a large jumbled mess despite my best efforts. Really pleased to group my related functions into more meaningful sections and so far it's proven easier to locate things. So far my States are . as follows but I have no doubt there will be more:

  • GameStart
  • Instructions
  • RoundStart
  • Game
  • End

One of the main focuses of Day 2 has been around GameStart and RoundStart (level creation)

Firstly loading in resources for food item assets and avatars so we have the graphics available.
Then we generate a subset of the food that will be used this round ( 8 items ), this list is then used to generate the Order (items they want) for each customer that is also generates their appearance from the pool of avatars.

I allow for the same customer skin to be shown per round, however with customers orders I added logic to ensure they were ordering 3 unique things rather than facing duplicates.

So far all the logic seems to be working as intended, but i have expect some terrible oversight to knobble my progress on day 5.

Leave a comment

Log in with itch.io to leave a comment.