Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matijakljajic/semb-pharo
Tic-tac-toe / noughts and crosses with minimax done in Pharo Smalltalk
https://github.com/matijakljajic/semb-pharo
bloc game pharo
Last synced: 1 day ago
JSON representation
Tic-tac-toe / noughts and crosses with minimax done in Pharo Smalltalk
- Host: GitHub
- URL: https://github.com/matijakljajic/semb-pharo
- Owner: matijakljajic
- License: mit
- Created: 2024-07-18T10:52:25.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-02-04T09:07:13.000Z (4 days ago)
- Last Synced: 2025-02-04T10:20:25.430Z (4 days ago)
- Topics: bloc, game, pharo
- Language: Smalltalk
- Homepage:
- Size: 565 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
Noughts & Crosses
### What is it?
[Noughts & Crosses](https://en.wikipedia.org/wiki/Tic-tac-toe) game simulation showcased in the [Pharo](https://pharo.org/) environment using [Bloc](https://github.com/pharo-graphics/Bloc), Pharo's low-level UI framework.
- ___Note #1___: This project was done for a seminar paper. You can download and read the paper over this [link](https://github.com/matijakljajic/semb-pharo/blob/main/res/Implementacija%20igre%20sa%20nultom%20sumom%20i%20minimaks%20algoritma%20u%20Pharo%20okru%C5%BEenju.pdf). (in Serbian)
- ___Note #2___: Pharo MOOC served as a sort of prerequisite before I started working on the seminar paper. Some info about my progress regarding the MOOC can be found [here](https://github.com/matijakljajic/semb-pharo/tree/extra).### How to load the project?
Load it into your image with:
```Smalltalk
Metacello new
baseline: 'OXO';
repository: 'github://matijakljajic/semb-pharo:main/src';
load
```### How to start the game?
Executing:
- `OXO playVsPlayer` will start a 2-player game.
- `OXO playVsComputer` will start a 1-player game.### License
Code found in this repository is licensed under [MIT](https://raw.githubusercontent.com/matijakljajic/semb-pharo/main/LICENSE).