R is definitely not made for games. I saw a few examples of games, mostly adventure games or very basic tech demos. I wanted to make a handful of games but it's spiralled out of control and now I have lots of little "engines" and various projects. Some are done, some are works in progress, and some are even DEAD to me. The code is not very great but it works and that's good enough for me. I try to minimize the amount of external libraries, so it can run on the most base install possible. It also means I don't get to "cheat" with something like Shiny - but I also don't get quality of life packages like ggplot2. The graphics are expectedly shitty, avoiding external pngs when I can. They are also meant to be run within small screens (about as big as your average RStudio preview window). Many also have multiplayer or CPU support.
Github RepositoryNo. | Name | Description | Short Name | Status |
---|---|---|---|---|
1. | Gems Game | The first game, a tile-matching game where "gems" fall from the top. | gemsgame | Complete |
2. | Crazy Eights | The classic card shedding game. Includes 4 variants - some using standard decks, and others with custom decks. | crazyeights | Complete |
3. | Four-in-a-Row | Drop down pieces and try to get four in a row. | fiar | Complete |
4. | Tic Tac Toe | Try to match 3 symbols in a row. Includes an advanced variant where you can place "microboards". | tictactoe | Playable |
5. | R-dle | Guess a random 5 letter word in 6 guesses. | rordle | Complete |
6. | Towers of Hanoi | Move discs from one side to the other. | hanoi | Complete |
7. | Checkers | Capture your opponent's pieces by jumping over them. Can play variants including "American checkers" and "draughts". | checkers | WIP |
In addition to games, I also have some tools that are not very useful but do exist
Name | Description | Short Name | Status |
---|---|---|---|
text | Failed visual text editor | text/text | Abandoned |
ed | Emulates the single-line editor "ed" | text/ed | WIP |
Rsynth | Generates melodic phrases and notes using FM Synthesis | rsynth | Empty |
Clock | Draws a clock in the display | clock | Complete |