February 7, 2012
Posted by on
I’ve been hammering away on Catan lately and I’ve finally accomplished some major steps. I once feared I had to hard-code a few things and manually enter in a lot of information. Thankfully however, I managed to squeeze out a nasty algorithm to do the work for me. To break it all down, you can choose a name, connect to a hosted game, receive the server generated board (randomly dispersed tiles), receive the numbered tiles (a late addition of having the 6’s & 8’s colored red), send/receive messages by pressing the ‘enter’ key to initiate and ‘enter’ again to send. All messages are colored coded to each player. You can now roll the dice to see who goes first, then starting with that player you can place your starting settlement with adjacent road. Continues til all players have placed their two settlements then the game starts. I’ll be working on distributing resources next.
Sorry no screens this time, maybe next time…. hopefully sooner than what, a month? Ooops.