aboutsummaryrefslogtreecommitdiffstats
path: root/main.rb
AgeCommit message (Collapse)Author
2015-04-15main.rb: Exit more quietly on Ctrl-CTeddy Wing
Otherwise it prints "Interrupt" and a traceback.
2015-04-15main.rb: Output our winner when we have oneTeddy Wing
2015-04-14Flesh out the game loopTeddy Wing
* Use a new, currently empty `Board#winner?` method as our loop condition * Add `Player#insignia` so we can print the correct player insignia depending on who the current player is * Print the board and a prompt for coordinates * Switch the current player after a player finishes moving
2015-04-14Player: Add `initialize` method, use insignia constantsTeddy Wing
Add an `initialize` method to get rid of our test errors and use the constants we created in 231060de4c493a9c6ba3510a9be4d405517af5c6 when creating new `Player`s.
2015-04-14Add some empty test for Player movementTeddy Wing
Test some code for an API concept for player, ideas for tests of the `Player#move` method.
2015-04-11Create main game loopTeddy Wing
* main.rb will be what we use to run the game. Add some setup and an idea for grabbing board coordinates to place a piece. * Add empty Player class to represent Xes and Os