1
0
mirror of https://github.com/abakh/nbsdgames.git synced 2025-02-02 15:07:27 -05:00
nbsdgames/README.md

138 lines
4.6 KiB
Markdown
Raw Normal View History

2019-03-21 10:55:03 -04:00
# New BSD Games
*You have a computing machine from 1980's and you wonder how you can use it? <br/>
2022-02-01 21:21:00 -05:00
You are a bored sysadmin with no work, and need to kill time looking busy with terminal? <br/>
2022-02-02 09:04:17 -05:00
You have Plan9 dual-booted with OpenBSD and have kept the OpenBSD just for gaming? <br/>
2020-06-20 19:43:39 -04: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 09:04:17 -05: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-14 20:04:06 -04: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 10:57:14 -04:00
**Don't worry** anymore as you've got nbsdgames now!
2019-03-20 10:16:33 -04:00
2022-02-01 19:27:43 -05:00
The games include:
2019-03-20 14:01:58 -04: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 18:50:41 -04: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-14 20:04:06 -04:00
* Pipes (Same as the famous Pipe Mania)
2019-05-13 09:58:19 -04:00
* Fifteen
* Memoblocks (or Memory blocks. A similar game was included in Windows 7)
2020-06-21 03:02:36 -04:00
* Fisher
* Muncher
* Miketron
* Redsquare (Conway's Game of Life made playable!)
2021-03-05 08:00:08 -05:00
* Darrt (with original gameplay!)
2021-04-16 17:18:06 -04:00
* Snakeduel
2022-02-02 09:04:17 -05:00
* Tugow (Numpad practice game)
2021-04-19 03:30:54 -04:00
2019-08-17 16:42:16 -04: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-14 20:04:06 -04:00
*Or just enter "nbsdgames" at your terminal to get a fancy menu and play all sorts of games from there.*
2022-02-01 21:21:00 -05:00
2021-03-05 08:00:08 -05:00
Play on xterm for best experience.
2020-06-20 19:43:39 -04:00
2019-03-21 10:55:03 -04:00
## Prerequisites
2019-03-20 10:16:33 -04:00
2019-04-02 22:18:10 -04:00
* git (optional)
2019-03-21 11:23:14 -04:00
* POSIX make (optional)
2019-03-20 10:16:33 -04:00
* A C compiler with C99 enabled
* The standard library
2019-08-17 16:42:16 -04:00
* ncurses (libncurses5-dev if you are on debian-based distros)
2019-03-20 10:16:33 -04:00
2021-05-08 15:15:30 -04:00
To install them all on debian-base :
``` sh
sudo apt install git make gcc libncurses5-dev
```
2019-03-21 10:55:03 -04:00
## How to run
2019-03-21 10:28:37 -04:00
2019-03-20 10:16:33 -04:00
1) Download the files
2) Go to the sources directory
2021-04-17 03:29:46 -04:00
3) Install
2019-03-20 10:16:33 -04:00
Like this:
2019-03-21 10:28:37 -04:00
``` sh
2021-04-16 17:18:06 -04:00
git clone https://github.com/abakh/nbsdgames
2020-07-10 14:28:18 -04:00
cd ./nbsdgames
2021-04-16 17:18:06 -04:00
make
sudo make install # or use the binaries already compiled
2019-03-21 10:28:37 -04:00
```
2022-02-01 19:27:43 -05:00
2022-05-14 20:04:06 -04: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-01 19:27:43 -05: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-14 20:04:06 -04:00
## Dependencies
2021-08-01 19:25:56 -04:00
2022-05-14 20:04:06 -04: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 18:42:11 -04:00
2022-05-14 20:04:06 -04:00
``` sh
sudo apt install git make gcc libncurses5-dev
```
## How to build
2019-04-07 03:08:31 -04:00
2022-05-14 20:04:06 -04:00
1) Download the files
2) Go to the sources directory
3) Install
2021-04-20 10:09:41 -04:00
2022-05-14 20:04:06 -04:00
Like this:
2021-08-01 19:25:56 -04:00
2022-05-14 20:04:06 -04:00
``` sh
git clone https://github.com/abakh/nbsdgames
cd ./nbsdgames
make
sudo make install # or use the binaries already compiled
```
2021-08-01 19:25:56 -04:00
2021-08-01 21:02:48 -04:00
2019-03-21 10:55:03 -04:00
## How do these look like
2020-06-20 12:26:54 -04:00
Linux+xterm+tmux
2021-04-30 20:56:27 -04:00
![Screenshot from 4 games in tmux](https://raw.githubusercontent.com/abakh/junk/master/screenshot.png)
2019-03-20 14:01:58 -04:00
2020-06-20 12:26:54 -04:00
Plan9
2021-04-30 20:56:27 -04:00
![Screenshot from the games in Plan9](https://raw.githubusercontent.com/abakh/junk/master/screenshot_plan9.png)
2019-03-20 10:16:33 -04:00
2021-01-05 19:38:00 -05:00
Windows
2021-04-30 20:56:27 -04:00
![Screenshot from the games in Windows 7](https://raw.githubusercontent.com/abakh/junk/master/screenshot_windows.jpg)
2021-01-05 19:38:00 -05:00
2019-04-02 19:58:22 -04:00
## How to contribute
2020-06-20 12:26:54 -04:00
* Share these with your friends and others
2022-02-01 19:27:43 -05:00
* Your stars make the repo more findable in Github :star:
2020-05-18 14:59:29 -04:00
* Tell me your feature requests, bug reports, etc.
2021-03-05 08:00:08 -05: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 12:26:54 -04:00
* Make a package for your distro (or put it on repos if the package is not there)
2022-05-14 20:04:06 -04:00
* Getting it to Redhat and OpenBSD repos would be nice.
2022-02-02 09:04:17 -05:00
* Tell distro developers to consider adding these as default games, nbsdgames packs a lot of fun games in a few hundreds of kilobytes.
2022-05-14 20:04:06 -04: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: