Package: fourinarow 0.1.1
fourinarow: Play "Four in a Row"
Play or simulate games of "Four in a Row" in the R console. This package is designed for educational purposes, encouraging users to write their own functions to play the game automatically. It contains a collection of built-in functions that play the game at various skill levels, for users to test their own functions against.
Authors:
fourinarow_0.1.1.tar.gz
fourinarow_0.1.1.zip(r-4.7)fourinarow_0.1.1.zip(r-4.6)fourinarow_0.1.1.zip(r-4.5)
fourinarow_0.1.1.tgz(r-4.6-any)fourinarow_0.1.1.tgz(r-4.5-any)
fourinarow_0.1.1.tar.gz(r-4.7-any)fourinarow_0.1.1.tar.gz(r-4.6-any)
fourinarow_0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
fourinarow/json (API)
| # Install 'fourinarow' in R: |
| install.packages('fourinarow', repos = c('https://kstreet13.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/kstreet13/fourinarow/issues
Last updated from:fb45a14ae0. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 122 | ||
| source / vignettes | OK | 137 | ||
| linux-release-x86_64 | OK | 117 | ||
| macos-release-arm64 | OK | 165 | ||
| macos-oldrel-arm64 | OK | 174 | ||
| windows-devel | OK | 92 | ||
| windows-release | OK | 96 | ||
| windows-oldrel | OK | 148 | ||
| wasm-release | OK | 89 |
Exports:easyBotgetSetsof4hardBothumanPlayerinvertPiecesmediumBotplay4inaRowrandomBottestBots
Dependencies:
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Bot players for Four in a Row | bots easyBot hardBot mediumBot randomBot |
| All possible sets of 4 in a row | getSetsof4 |
| Human player | humanPlayer |
| Switch X's and O's | invertPieces |
| Play a game of Four in a Row | play4inaRow |
| Simulate many games of Four in a Row | testBots |
