https://github.com/silva4dev/ruby-tic-tac-toe-example
π² Build a tic-tac-toe game on the command line where two human players can play against each other and the board is displayed in between turns using Ruby π―
https://github.com/silva4dev/ruby-tic-tac-toe-example
challenge design-patterns hackathon logic-programming ruby
Last synced: 12 months ago
JSON representation
π² Build a tic-tac-toe game on the command line where two human players can play against each other and the board is displayed in between turns using Ruby π―
- Host: GitHub
- URL: https://github.com/silva4dev/ruby-tic-tac-toe-example
- Owner: silva4dev
- Created: 2023-03-09T02:45:18.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-09T03:17:06.000Z (over 3 years ago)
- Last Synced: 2025-06-30T21:05:05.703Z (12 months ago)
- Topics: challenge, design-patterns, hackathon, logic-programming, ruby
- Language: Ruby
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tic Tac Toe
Build a tic-tac-toe game on the command line where two human players can play against each other and the board is displayed in between turns.
```
1. Think about how you would set up the different elements within the game⦠What should be a class? Instance variable? Method? A few minutes of thought can save you from wasting an hour of coding.
2. Build your game, taking care to not share information between classes any more than you have to.
3. Post your solution below, then check out this example solution from RosettaCode.org.
```