1
0
mirror of https://github.com/abakh/nbsdgames.git synced 2024-06-08 17:20:41 +00:00
nbsdgames/README.md

117 lines
5.0 KiB
Markdown
Raw 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/>
2021-03-05 13:00:08 +00:00
You are a bored sysadmin with no work, and need to kill time looking busy with terminal? <br/>
2022-02-02 00:27:43 +00:00
Your port of a Unix-like system to a fancy platform has no GUI, but you still want to pretend it has some functional value?<br/>
Did you have Plan9 dual-booted with OpenBSD and kept the OpenBSD just for gaming? <br/>
Are you the DSL developer and have cancelled the project because you lacked games? <br/>
2020-06-20 23:43:39 +00:00
Those creepy GTK/QT games make you cringe? <br/>
You have to make a Reversi AI for your homework and you don't know where to copy it from? <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-02-02 00:27:43 +00:00
You feel they have betrayed you by bundling stuff like phantasia with a package you expect to contain GAMES? <br/>
You installed this from Homebrew, thinking it is bsdgames, and now you are looking up what you actually installed?* <br/>
2019-05-13 14:43:21 +00:00
2019-03-20 14:49:23 +00:00
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
This Cloud-Capable :tm: :copyright: , Artificial Intelligence :copyright: :tm: Powered Solutions :tm: Developed by an International Team Solves the LongStanding Gaming on Linux :tm: Problem :tm:.
Just enter nbsdgames at your terminal to get a fancy menu and play all sorts of games from there (You would lose the command-line options that way, though).
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)
2019-03-20 18:01:58 +00:00
* Pipes (Same as the famous Pipe Mania, unplayable on the environments that don't support the line characters)
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 00:27:43 +00:00
* Tugow (Numlock 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!
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
## Platforms
They natively run on Linux, BSD, MacOS and are known to work on Windows as well (using PDCurses, thanks to Laura Michaels for providing advice).
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.
2020-06-21 07:02:36 +00:00
## Packages
2022-02-02 00:27:43 +00:00
It is now on Debian unstable and soon on your Debian-derived distros, just install the deb from here until it gets to your repo.
2021-08-01 23:25:56 +00:00
2021-04-20 14:09:41 +00:00
Thanks to Gürkan Myczko for packaging.
2019-04-02 22:42:11 +00:00
2021-04-20 14:09:41 +00:00
It's available on Arch (AUR) thanks to Elias Riedel Gårding: https://aur.archlinux.org/packages/nbsdgames-git/
2020-06-25 01:28:52 +00:00
(The commands start with nb to avoid name conflict)
2019-04-07 07:08:31 +00:00
2021-04-20 14:09:41 +00:00
It's been made available for rpm distros thanks to Zinjanthropus: https://build.opensuse.org/package/show/home:Zinjanthropus/nbsdgames
2021-04-23 10:03:47 +00:00
It's available on pkgsrc (default on NetBSD, Minix, supports everything else) thanks to nia: https://pkgsrc.se/games/nbsdgames
2021-08-01 23:25:56 +00:00
It's available on homebrew (package manager for Linux people using Mac OSX, and Linux people using OSX using Linux) thanks to kind strangers: https://formulae.brew.sh/formula/nbsdgames
2021-08-02 01:02:48 +00:00
It's available on FreeBSD thanks to Robert Clausecker https://www.freshports.org/games/nbsdgames/
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 00:27:43 +00:00
* Getting it to Redhat and SUSE repos would be nice.
2020-06-20 16:26:54 +00:00
2021-05-01 00:56:27 +00:00
Also thank 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: