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

90 lines
3.9 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/>
2020-06-20 23:43:39 +00:00
You are a bored sysadmin with no work, and want to kill time without being fired? <br/>
You are the DSL developer and have cancelled the project because you lacked games? <br/>
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/>
You feel they have betrayed you by bundling stuff like phantasia with a package you expect to contain GAMES?* <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
2019-08-17 20:42:16 +00:00
I originally made these in hope of them becoming added to NetBSD (but the few i talked to preferred to have games in the repositories rather than in /usr/games itself).
2019-03-20 14:16:33 +00:00
These 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-20 23:43:39 +00:00
* Fisher^
* Muncher^
* Miketron^
* Redsquare^ (Conway's Game of Life made playable!)
2019-08-17 20:42:16 +00:00
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).
2020-06-20 23:43:39 +00:00
They have been ported to Plan9 thanks to Jens Staal!
2020-06-20 16:26: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!
2020-06-20 23:43:39 +00:00
Play on xterm for best exprience.
^ I have encounterd Fisher, Muncher and Miketron on MikeOS and RedSquare on KolibriOS
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
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
3) Set the environment variable PREFIX to the address you want them to be in
4) Install
Like this:
2019-03-21 14:28:37 +00:00
``` sh
2020-06-20 23:43:39 +00:00
git clone https://github.com/abakh/nbsdgames
2019-08-17 20:42:16 +00:00
cd ./nbsdgames/sources
2020-06-20 23:43:39 +00:00
export PREFIX= ~/bin
2019-03-20 18:01:58 +00:00
make install
2019-03-21 14:28:37 +00:00
```
2019-03-20 18:01:58 +00:00
2019-04-03 19:23:41 +00:00
Also, If you are on a debian-based OS on a 64-bit PC you can download the deb package and simply install it with dpkg or apt.
2020-06-21 00:12:19 +00:00
the deb package(old): https://github.com/abakh/nbsdgames/releases/download/v2.0/nbsdgames_amd64.deb
2019-04-02 22:42:11 +00:00
2019-04-07 02:58:59 +00:00
It's available on AUR thanks to Elias Riedel Gårding: https://aur.archlinux.org/packages/nbsdgames-git/
2019-04-07 03:21:17 +00:00
(The commands start with nbsd_ to avoid conflict)
2019-04-07 07:08:31 +00:00
2020-06-20 16:26:54 +00:00
It's been made available for openSUSE thanks to Zinjanthropus: https://build.opensuse.org/package/show/home:Zinjanthropus/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
2020-06-20 23:43:39 +00:00
![Screenshot from 4 games in tmux](https://raw.githubusercontent.com/abakh/nbsdgames/master/screenshot.png)
2019-03-20 18:01:58 +00:00
2020-06-20 16:26:54 +00:00
Plan9
2020-06-20 23:43:39 +00:00
![Screenshot from the games in Plan9](https://raw.githubusercontent.com/abakh/nbsdgames/master/screenshot_plan9.png)
2019-03-20 14:16:33 +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
* Your stars make the repo more findable in github
2020-05-18 18:59:29 +00:00
* Tell me your feature requests, bug reports, etc.
2020-05-26 16:18:49 +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)
2020-05-26 16:18:49 +00:00
* Does anyone understand debian's .orig.tar.gz and the process to make packages to the repos? Any help would be appreciated.
2020-06-20 16:26:54 +00:00
2020-06-20 23:43:39 +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: