https://github.com/sanelli/tic-tac-toe
Tic Tac Toe implemented in Ada and SDL2.
https://github.com/sanelli/tic-tac-toe
ada game sdl2 tic-tac-toe
Last synced: 8 months ago
JSON representation
Tic Tac Toe implemented in Ada and SDL2.
- Host: GitHub
- URL: https://github.com/sanelli/tic-tac-toe
- Owner: sanelli
- License: mit
- Created: 2024-04-21T09:07:19.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-27T23:55:22.000Z (about 2 years ago)
- Last Synced: 2024-04-29T00:33:11.765Z (about 2 years ago)
- Topics: ada, game, sdl2, tic-tac-toe
- Language: Ada
- Homepage:
- Size: 62.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tic-tac-toe
[Tic-tac-toe](https://en.wikipedia.org/wiki/Tic-tac-toe) implemented in Ada and SDL2.
## Building on OSX Sonoma with homebrew installed SDL2
- `alr build`
- Manually fix SDL ada following [this](https://stackoverflow.com/questions/78363274/cannot-build-sdl-ada-bindings-on-osx-sonoma-because-of-error-missing-binary-ope);
- `brew list sdl2 sdl2_ttf sdl2_mixer sdl2_image`
- Gather the location of the `lib` and run the command (I am not sure why brew does not install libraries in lib)
- `/usr/local/Cellar/sdl2/2.30.2/bin/sdl2-config -cflags`
- Obtain the C flags (you can ignore the -I part)
- `alr build -- -largs "-D_THREAD_SAFE" "-L/usr/local/Cellar/sdl2_ttf/2.22.0/lib/" -lSDL2 "-L/usr/local/Cellar/sdl2_ttf/2.22.0/lib/" -lSDL2_ttf "-L/usr/local/Cellar/sdl2_mixer/2.8.0/lib/" -lSDL2_mixer "-L/usr/local/Cellar/sdl2_image/2.8.2_1/lib/" -lSDL2_image`
# References and credits
## Bebas Neue Font
- [Google Fonts](https://fonts.google.com/specimen/Bebas+Neue/about)
- [Git Hub](https://github.com/dharmatype/Bebas-Neue)
# Screenshots