Skip to content
Settlers Journal
Go back

Adding Player Join Order, Colors, and a Game Event Log

Edit page

TLDR

Added joinOrder to the player model and automatically assigned game colors (red, blue, white, orange) based on it. Created an eventLog on the game model that keeps track of each action or “free transition” the game goes through (e.g., all players are in the game, so can free transition to PLACE_SETTLEMENT for first user). Added SKIP functionality for the lobby (i.e., you can skip to playing once you have the minimum 3 players).

alt text alt text

Main work

Challenges

Learnings


Edit page
Share this post on:

Previous Post
Roll-for-Order Gameplay and Finite State Machine Cleanup
Next Post
Building a Python CLI Tool and Automated Game Scenario Runner