Btlgammon
Description
This is a terminal implementation of the classic board game, Backgammon. Per the original, each player must roll two dice, then use the resulting values to move the pieces forward on the board. The objective is to move all your pieces off the board, while preventing your opponent from doing the same. Two pieces on the same position will block your opponent from moving into that slot. Landing on a position with only piece will send it back to the beginning.
All moves in this version of the game are entered as a sequence of piece positions to move, in the same order as the dice role is listed. For example, with a dice role of 6 and 5, an entry of ‘12 4’ would move the piece on position 12 forward by 6, and the piece on position 4 forward by 5.
