1
0
Fork 0
nbsdgames/README.md

137 lines
4.6 KiB
Markdown
Raw Permalink Normal View History

2019-03-21 14:55:03 +00:00
# New BSD Games
*You have a computing machine from 1980's and you wonder how you can use it? <br/>
2022-02-02 02:21:00 +00:00
You are a bored sysadmin with no work, and need to kill time looking busy with terminal? <br/>
2022-02-02 14:04:17 +00:00
You have Plan9 dual-booted with OpenBSD and have kept the OpenBSD just for gaming? <br/>
2020-06-20 23:43:39 +00:00
You have to make a Reversi AI for your homework and you don't know where to copy it from? <br/>
2022-02-02 14:04:17 +00:00
Your port of Linux to a fancy platform has no GUI, but you still want nice screenshots?<br/>
You have been so excited about the bsdgames, but have grown tired of playing tetris, snake and robots for billions of times? <br/>
2022-05-15 00:04:06 +00:00
Are you feeling that betrayed you by bundling stuff like phantasia in a package you expected to contain GAMES?<br/>
Did you come here thinking it is bsdgames?*<br/>
2019-03-20 14:57:14 +00:00
**Don't worry** anymore as you've got nbsdgames now!
2019-03-20 14:16:33 +00:00
2022-02-02 00:27:43 +00:00
The games include:
2019-03-20 18:01:58 +00:00
* Jewels (A game with a gameplay kinda similiar to that of Tetris, NOT my invention)
* Sudoku
* Mines (Minesweeper)
* Reversi
* Checkers
* Battleship
* SOS
2019-04-02 22:50:41 +00:00
* Rabbithole (A maze-exploring game where you have to gather items from all around the maze rather than reaching an end, the idea maybe mine)
2022-05-15 00:04:06 +00:00
* Pipes (Same as the famous Pipe Mania)
2019-05-13 13:58:19 +00:00
* Fifteen
* Memoblocks (or Memory blocks. A similar game was included in Windows 7)
2020-06-21 07:02:36 +00:00
* Fisher
* Muncher
* Miketron
* Redsquare (Conway's Game of Life made playable!)
2021-03-05 13:00:08 +00:00
* Darrt (with original gameplay!)
2021-04-16 21:18:06 +00:00
* Snakeduel
2022-02-02 14:04:17 +00:00
* Tugow (Numpad practice game)
2021-04-19 07:30:54 +00:00
2019-08-17 20:42:16 +00:00
The difficulty and/or dimensions are adjustable through simple command line options, you can play a minesweeper game that take hours to complete, or exprience hexadecimal sudoku and 8x8 fifteen-like puzzles!
2022-05-15 00:04:06 +00:00
*Or just enter "nbsdgames" at your terminal to get a fancy menu and play all sorts of games from there.*
2022-02-02 02:21:00 +00:00
2021-03-05 13:00:08 +00:00
Play on xterm for best experience.
2020-06-20 23:43:39 +00:00
2019-03-21 14:55:03 +00:00
## Prerequisites
2019-03-20 14:16:33 +00:00
2019-04-03 02:18:10 +00:00
* git (optional)
2019-03-21 15:23:14 +00:00
* POSIX make (optional)
2019-03-20 14:16:33 +00:00
* A C compiler with C99 enabled
* The standard library
2019-08-17 20:42:16 +00:00
* ncurses (libncurses5-dev if you are on debian-based distros)
2019-03-20 14:16:33 +00:00
2021-05-08 19:15:30 +00:00
To install them all on debian-base :
``` sh
sudo apt install git make gcc libncurses5-dev
```
2019-03-21 14:55:03 +00:00
## How to run
2019-03-21 14:28:37 +00:00
2019-03-20 14:16:33 +00:00
1) Download the files
2) Go to the sources directory
2021-04-17 07:29:46 +00:00
3) Install
2019-03-20 14:16:33 +00:00
Like this:
2019-03-21 14:28:37 +00:00
``` sh
2021-04-16 21:18:06 +00:00
git clone https://github.com/abakh/nbsdgames
2020-07-10 18:28:18 +00:00
cd ./nbsdgames
2021-04-16 21:18:06 +00:00
make
sudo make install # or use the binaries already compiled
2019-03-21 14:28:37 +00:00
```
2022-02-02 00:27:43 +00:00
2022-05-15 00:04:06 +00:00
## Packages
It's on almost every repo by now: Debian (and other DEBs), OpenSUSE (and other RPMs), AUR, Alpine, FreeBSD, NetBSD, DragonflyBSD, Minix, Homebrew (MacOSX) and more
https://repology.org/project/nbsdgames/versions
Thanks to Elias Riedel Gårding, Zinjanthropus, Gürkan Myczko, Robert Clausecker, Sam James, and so many other nice people for packaging.
They also gave back code and useful feedback.
## Other Platforms
They are known to work on Windows as well (using PDCurses, thanks to Laura Michaels for providing advice).
2022-02-02 00:27:43 +00:00
They have been ported to Plan9 thanks to Jens Staal!
Thanks to PDCurses they even work on DOS and every platform with SDL.
They should theoretically work on OS/2 as well but I have not verified that yet.
2022-05-15 00:04:06 +00:00
## Dependencies
2021-08-01 23:25:56 +00:00
2022-05-15 00:04:06 +00:00
* git (optional)
* POSIX make (optional)
* A C compiler with C99 enabled
* The standard library
* ncurses (libncurses5-dev if you are on debian-based distros)
To install them all on debian-base :
2019-04-02 22:42:11 +00:00
2022-05-15 00:04:06 +00:00
``` sh
sudo apt install git make gcc libncurses5-dev
```
## How to build
2019-04-07 07:08:31 +00:00
2022-05-15 00:04:06 +00:00
1) Download the files
2) Go to the sources directory
3) Install
2021-04-20 14:09:41 +00:00
2022-05-15 00:04:06 +00:00
Like this:
2021-08-01 23:25:56 +00:00
2022-05-15 00:04:06 +00:00
``` sh
git clone https://github.com/abakh/nbsdgames
cd ./nbsdgames
make
sudo make install # or use the binaries already compiled
```
2021-08-01 23:25:56 +00:00
2021-08-02 01:02:48 +00:00
2019-03-21 14:55:03 +00:00
## How do these look like
2020-06-20 16:26:54 +00:00
Linux+xterm+tmux
2021-05-01 00:56:27 +00:00
![Screenshot from 4 games in tmux](https://raw.githubusercontent.com/abakh/junk/master/screenshot.png)
2019-03-20 18:01:58 +00:00
2020-06-20 16:26:54 +00:00
Plan9
2021-05-01 00:56:27 +00:00
![Screenshot from the games in Plan9](https://raw.githubusercontent.com/abakh/junk/master/screenshot_plan9.png)
2019-03-20 14:16:33 +00:00
2021-01-06 00:38:00 +00:00
Windows
2021-05-01 00:56:27 +00:00
![Screenshot from the games in Windows 7](https://raw.githubusercontent.com/abakh/junk/master/screenshot_windows.jpg)
2021-01-06 00:38:00 +00:00
2019-04-02 23:58:22 +00:00
## How to contribute
2020-06-20 16:26:54 +00:00
* Share these with your friends and others
2022-02-02 00:27:43 +00:00
* Your stars make the repo more findable in Github :star:
2020-05-18 18:59:29 +00:00
* Tell me your feature requests, bug reports, etc.
2021-03-05 13:00:08 +00:00
* Tell me the games you want to be added (but in the same genre, I can't port Angry Birds to curses! :)
2020-06-20 16:26:54 +00:00
* Make a package for your distro (or put it on repos if the package is not there)
2022-02-02 14:04:17 +00:00
* Tell distro developers to consider adding these as default games, nbsdgames packs a lot of fun games in a few hundreds of kilobytes.
2023-03-13 15:16:50 +00:00
* Compile these with ASAN, play and find C-ish bugs.
2022-05-15 00:04:06 +00:00
Also thanks to all the people who helped in the previous versions, all what I requested was done! I didn't expect such an amount of assistance on this project :heart: