Tuesday, April 12, 2011

Decision to go command line

Blake and I met on Sunday and decided to do a command line version which will print out a 7x6 game board. Brackets will divide the rows and each space will be assigned to an array location (1 through 42). Each space will store either a 0 1 or 2. This will denote if the space is empty, occupied by a Red Chip or occupied by a Black Chip.

I am going to start with the new stuff and Blake is going to work on converting our old C# code and game logic into Lua.

1 comment:

  1. So, will the 0/1/2 be how you represent the chips in the data structure behind the scenes or how you're representing them in the output to the screen, or both?

    I don't know much about Lua or what options you have when printing to the command prompt - but if possible, it would neat if you could represent the chips on the screen with the 'o' character and then color the output of the red chips red (vice having 1s and 2s) and then just leave the blank spaces for spots without chips.

    ReplyDelete