Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aaron-contreras/connect-four
A ruby console connect-four game.
https://github.com/aaron-contreras/connect-four
Last synced: 26 days ago
JSON representation
A ruby console connect-four game.
- Host: GitHub
- URL: https://github.com/aaron-contreras/connect-four
- Owner: aaron-contreras
- Created: 2020-07-30T20:13:21.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-08-01T23:42:48.000Z (5 months ago)
- Last Synced: 2024-11-29T12:45:00.040Z (about 1 month ago)
- Language: Ruby
- Size: 41 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Connect-four!
Built in TDD-style
__Note__: The program's UI is optimized to work with Repl.it's terminal. Alignment and styling may be different if ran locally.
[View on repl.it](https://connect-four.aaroncontreras.repl.run/)
## Gameplay details
- The grid is __7-columns__ wide by __6-rows__ tall.
- Pieces "fall" straight down occupying the _lowest available space_.
- __Objective__: Be the first to form a horizontal, vertical or diagonal line with four of one's own discs. If the board fills up without a player reaching four consecutive discs in-a-row, then the game is a draw.