KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
OK, here's a rather elaborate code golf challenge: Implement a game of Reversi (Othello). The game should display the current state of the game-board and allow players at a single computer to alternately input moves. Incorrect input and disallowed moves must be caught, but can be ignored silently. The game must end when no more moves can be made (either because the board is full or because no move would flip any pieces). The game must then announce who won, or if it was a draw. Do this in as few characters as possible. A session should look something like this: abcdefgh 1 2 3 4 wb 5 bw 6 7 8 b>d3 abcdefgh 1 2 3 b 4 bb 5 bw 6 7 8
Tags (comma-separated)
Save Edits
Cancel