Thank you for visiting Blazing Games

Functional game

(21:00-23:30)

I initially thought this would be a fairly quick task to complete, but was I ever mistaken. I really didn't think that I would finish the game before my midnight deadline. No single task was that difficult, but there were a lot of them and fine tuning as well in order to finish the game.

The score buttons did not look good with the default font used for buttons. My text button class already has support for using a different text format. So, I used a different font for the text buttons. While I was changing that font, I figured the labels and the scores should also be assigned new fonts.

Next was actually handling the clicking of the score button and going to the next player. This required me to write my player handling code. I also implemented some roll limits. The next player function is simple enough, but support for the none player and the ai had to be considered. None is simply skipping that player. The AI, though, was a bit trickier.

Lack of time made me take the easy approach to the AI and simply take the first roll and then find the best score that can be achieved with that roll. Had I had more time, a much better AI could be constructed. One that would actually try to take advantage of the other two rolls available. This would be an ideal side project for anybody who wants to play around with this code.

Next came the back to title button and the restart buttons. Then I realized that I needed to have support for winning the game. Counting the rounds then was added, as was support for the totals.

Now we came to the fine tuning of the game. One bug that was showing up was with the keep buttons. The problem was that the last player's selections were retained for the next player. So part of the change player's function is to reset the keep buttons all back to the re-roll state.

At this point the game was fully playable but during my test game I noticed that the categories seem to be hard to see so I added lines to the table. At this time it was 23:30 which is rather close to the deadline so I figured I would call it a day.

Play the final version

Previous page
Making General Page 7

About - Privacy Policy - Contact - Links - FAQ
Copyright © 2008 Blazing Games Inc. All Rights Reserved