Sim (pencil game)
Sim is a two-player paper-and-pencil game.
Gameplay
Six dots ('vertices') are drawn. Each dot is connected to every other dot by a line ('edge').
Two players take turns coloring any uncolored lines. One player colors in one color, and the other colors in another color, with each player trying to avoid the creation of a triangle made solely of their color (only triangles with the dots as all corners count; intersections of lines are not relevant); the player who completes such a triangle loses immediately.
Analysis
Ramsey theory can also be used to show that no game of Sim can end in a tie. Specifically, since the Ramsey number R(3, 3) is equal to 6, any two-coloring of the complete graph on 6 vertices (K6) must contain a monochromatic triangle, and therefore is not a tied position. This will also apply to any super-graph of K6. For another proof that there must eventually be a triangle of either color, see the Theorem on friends and strangers.
Computer search has verified that the second player can win Sim with perfect play, but finding a perfect strategy that humans can easily memorize is an open problem.[1]
The game of Sim is one example of a Ramsey game. Other Ramsey games are possible. For instance, the players can be allowed to color more than one line during their turns. Another Ramsey game similar to Sim and related to the Ramsey number R(4, 4) = 18 is played on 18 vertices and the 153 edges between them. The two players must avoid to color all six edges connecting four vertices.
Because the Ramsey number R(3, 3, 3) is equal to 17, any three-coloring of the complete graph on 17 vertices must contain a monochromatic triangle. A corresponding Ramsey game uses pencils of three colors. One approach can have three players compete, while another would allow two players to alternately select any of the three colors to paint an edge of the graph, until a player loses by completing a monochromatic triangle. Finding perfect winning strategies for these variants is most likely out of reach.
A technical report[2] by Wolfgang Slany is available online, with many references to literature on Sim, going back to the game's introduction by Gustavus Simmons in 1969,[3] including proofs and estimates of the difficulty as well as computational complexity of Sim and other Ramsey games.
Software
A self-improving Java applet including its source code is available[4] for online play against a computer program.
An app including its source code in the visual multi-platform Catrobat programming language is available[5] for playing it against one's smartphone.
An electronic version is available at: https://wideaperture.net/sim/
References
- Mead, Ernest; Rosa, Alexander; Huang, Charlotte (1974-11-01). "The Game of Sim: A Winning Strategy for the Second Player". Mathematics Magazine. 47 (5): 243. doi:10.2307/2688046. ISSN 0025-570X. JSTOR 2688046.
- Slany, Wolfgang (1999-11-10). "Graph Ramsey games". arXiv:cs/9911004.
- Simmons, Gustavus J. "The game of SIM," J. Recreational Mathematics, 2(2), 1969, pp. 66.
- Java applet page, including source code
- "Catrobat community". share.catrob.at. Retrieved 2023-02-18.