-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9eff693
commit 21cb825
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# CE Checkers | ||
|
||
This is a short program for the game of checkers on the TI-84+ CE graphing calculator. | ||
|
||
[Rules](https://www.thesprucecrafts.com/play-checkers-using-standard-rules-409287) | ||
|
||
## Controls | ||
|
||
* Arrow keys move the cursor | ||
* `+` adds/removes a space from the current move | ||
* `-` clears the current move | ||
* `Enter` plays the move | ||
|
||
In order to make a move, use `+` to select the piece and each of the squares it should move to in order, then press `Enter`. | ||
|
||
## Building from source | ||
|
||
This program requires the [CEdev C toolchain](https://github.com/CE-Programming/toolchain) to build. Once that is installed properly, the program can be built with the `make` command. | ||
|
||
## Debugging | ||
|
||
This program can be built with some debug features that use [CEmu](https://ce-programming.github.io/CEmu/)'s console. In order to build the program in debug mode, edit the `makefile` and uncomment this line: | ||
|
||
```Makefile | ||
.DEFAULT_GOAL := debug | ||
``` | ||
|
||
### Debugging commands | ||
|
||
* `×` prints the current move to the console | ||
* `÷` prints out all possible moves for the current player | ||
|
||
Moves are printed using indexes starting from the first black square (0) and going from left to right, then up and down, to the last black square (31). `-1` indicates no move. |