1
0
Fork 0
nbsdgames/README.md

73 lines
3.4 KiB
Markdown
Raw Normal View History

2019-03-21 14:55:03 +00:00
# New BSD Games
2019-05-13 13:58:19 +00:00
<!To anyone who has been involved in development of this readme system: FUCK Y'ALL ! WHAT KIND OF HELLISH SHIT IS THIS?!?!?!?!??>
*You have a computing machine from 1980's and you wonder how you can use it? <br/>
You deal with a GUI-less machine at work and are looking for ways to kill time? <br/>
2019-05-13 14:43:21 +00:00
You are the DSL developer and have cancelled the project because you lacked games? <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/>
2019-07-30 19:54:58 +00:00
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-05 13:55:54 +00:00
I originally made these in hope of them being added to NetBSD ( but the few i talked to preferred to have games in the repositories rather than in /usr/games itself) .
2019-08-17 18:06:20 +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).
2019-08-05 13:55:54 +00:00
The difficulty and/or dimensions are adjustable through simple command line options (exprience hexadecimal sudoku and 8x8 fifteen puzzles!).
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)
2019-08-05 13:55:54 +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
* libncurses (the dev package if you are on debian-based distros)
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
2019-05-13 13:58:19 +00:00
git clone https://github.com/untakenstupidnick/nbsdgames
2019-04-03 02:18:10 +00:00
cd ~/nbsdgames/sources
2019-03-20 18:01:58 +00:00
export PREFIX= ~/bin
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.
2019-05-13 14:41:18 +00:00
the deb package: https://github.com/untakenstupidnick/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
2019-08-05 13:55:54 +00:00
It's been made available for openSUSE thanks to Jan Brezina: https://build.opensuse.org/package/show/home:Zinjanthropus/nbsdgames
2019-03-21 14:55:03 +00:00
## How do these look like
2019-03-21 14:28:37 +00:00
![Screenshot from 4 games in tmux](https://raw.githubusercontent.com/untakenstupidnick/new-bsd-games/master/screenshot.png)
2019-03-20 18:01:58 +00:00
2019-03-20 14:16:33 +00:00
2019-04-02 23:58:22 +00:00
## How to contribute
2019-05-13 14:41:18 +00:00
Oh, so kind! You can...
2019-04-02 23:58:22 +00:00
* Share these with your friends
2019-08-05 13:55:54 +00:00
* Tell me your feature requests, bug reports, games you want to be added etc. (think of games in spirit of those already included and look if there is already not a good terminal game for it)
2019-05-13 14:41:18 +00:00
* Make a package for your distro (or put it on repos and tell me afterwards)
2019-05-13 13:58:19 +00:00
* Tell me if you're interested in porting it to non-Unix (Possible in theory since there is PDCurses for SDL, and SDL for everything)