So close…

I have made a lot of small steps in the last few days. My game board is mostly functional now. At some point yesterday, I realized that I needed a punch list to help me focus and so I sat down (ok, I was already sitting) and wrote one. It looked something like this:

  • dice roller
  • check for legal move
  • check for bearing off
  • check for game over
  • jail rules
  • correctly stack checkers
  • optional stuff
    • score
    • player login
    • starting variations
    • A.I.
    • Hints & Help

A sizable but manageable list. I found that it helped to have smaller tasks to do so I could stop thinking about the big picture. I could pick an item and work on it exclusively and not worry about how I am going to do, well, anything else. I also kind of gave up on keeping my code “clean” and just started writing. Rather than getting bogged down on two levels, figuring out how to make it work and how to keep it tidy, I could just make it work.  As a consequence, I am much further along that I was two days ago, and my pace has picked up considerably. My punch list now looks like this:

  • dice roller  (partially, need to cycle through dice and deal with doubles)
  • check for legal move
  • check for bearing off
  • check for game over
  • jail rules
  • correctly stack checkers (technically finished, but I now need to correctly unstack them!)
  • input options (mouse/touch)
  • optional stuff
    • score
    • player login
    • starting variations
    • A.I.
    • Hints & Help

Here’s an example of some jail rules:

jailExample2

White has captured a black piece here…

jailExample1

… and Black has deployed her jailed piece and captured a White piece.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s