Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daullmer/tic-tac-toe
Computer Engineering and Systems Programming (T3INF2005) project: Tic Tac Toe game in RICS-V simulator Rars
https://github.com/daullmer/tic-tac-toe
assembly dhbw game risc-v semester-3 tic-tac-toe
Last synced: 44 minutes ago
JSON representation
Computer Engineering and Systems Programming (T3INF2005) project: Tic Tac Toe game in RICS-V simulator Rars
- Host: GitHub
- URL: https://github.com/daullmer/tic-tac-toe
- Owner: daullmer
- License: mit
- Created: 2021-10-16T15:37:39.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-05T14:55:42.000Z (about 3 years ago)
- Last Synced: 2024-11-05T12:33:01.956Z (about 2 months ago)
- Topics: assembly, dhbw, game, risc-v, semester-3, tic-tac-toe
- Language: Assembly
- Homepage:
- Size: 2.86 MB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CESP Tic-Tac-Toe
Simple Tic-Tac-Toe game with support for one and two players.
![Game Display](documentation/game-display.png)## Authors
- Philip Prüßner
- Victoria Strobel
- David Ullmer## Description
### How to run
To start the game, open src/main.asm in [Rars](https://github.com/TheThirdOne/rars). Open the Bitmap display, set the pixel unit width and height to 2, the resolution to 512x512 and the Display Base Address to ox1004000 (Heap) and connect to programm. To interact with the game, follow the instructions in the Rars Run I/O console.### 1 Player Mode
In 1 Player Mode, the player is always X and begins. After the player has entered a number, the computer chooses another unoccupied cell. This process repeats itself until a winner is determined or the game is tied.### 2 Player Mode
In 2 Player Mode, the two Players X and O are entering their cell values one after the other. Player 1 (X) always begins.## Files
`src/main.asm`: Main file of program
`src/draw/`: files for drawing things on the display
`src/libs/`: constant definitions for running the game in Rars.
`test/draw/`: unit tests for drawing things on screen
## Screenshots
![Game](documentation/game.png)
![Winner X](documentation/winner-x.png)
![Winner O](documentation/winner-o.png)## Test
Successful general unit tests:
![Successful general unit tests](documentation/successful_utests.png)
Successful draw unit tests:
![Successful draw unit tests](documentation/successful_draw_utests.png)