The user can undo moves and redo moves and save and load the game state. Solutions are calculated by a level-based DFS which indicate to the user if a solution can still be reached or the game is lost. For upcoming features, see the list below and feel free to open an Issue for additional features. Now using Kotlin and JavaFX/TorandoFX a 2D peg solitaire has been implemented, see code below and compiled binaries on Bintray (fat jar). sequences of moves, may exist or not, and has attracted many recreational mathematicians and hobbyist around the world, see also game play and board configurations on wikipedia and for a mathematical treatment of the game compare the website on recmath which contains a great deal of monographs and books. Depending on the board size and configuration multiple solutions, i.e. As for the game play a valid move a peg needs to jump orthogonally over an adjacent peg into a hole two positions away which will remove the jumped peg. In the UK or India it is also known under the synonyms Solitaire or Brainvita. Some sets use sophisticated marble or glass boards for pegs and indentations, others use wooden or plastic boards. It is said to date back as far as to August 1687 and that Louis XIV or known as Louis the Great was a passionate player. Peg Solitaire is a well-known single-player board game involving moving pegs between holes in the board. For the interested reader, see the introduction below and the upcoming features requested by users. You can just go ahead and download the compiled executable and deployed to Bintray to start playing the classic Peg solitaire game. First of all, this is an explorative respectively recreational programming project to gain more experience with Kotlin.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |