1
0
mirror of https://github.com/abakh/nbsdgames.git synced 2024-12-04 14:46:22 -05:00
nbsdgames/README.md

73 lines
3.4 KiB
Markdown
Raw Normal View History

2019-03-21 10:55:03 -04:00
# New BSD Games
2019-05-13 09:58:19 -04: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 10:43:21 -04: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 15:54:58 -04:00
You feel they have betrayed you by bundling stuff like phantasia with a package you expect to contain GAMES?* <br/>
2019-05-13 10:43:21 -04:00
2019-03-20 10:49:23 -04:00
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
2019-08-05 09:55:54 -04: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 14:06:20 -04: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 09:55:54 -04:00
The difficulty and/or dimensions are adjustable through simple command line options (exprience hexadecimal sudoku and 8x8 fifteen puzzles!).
2019-03-20 10:16:33 -04:00
These 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)
2019-03-20 14:01:58 -04:00
* Pipes (Same as the famous Pipe Mania, unplayable on the environments that don't support the line characters)
2019-05-13 09:58:19 -04:00
* Fifteen
* Memoblocks (or Memory blocks. A similar game was included in Windows 7)
2019-08-05 09:55:54 -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
* libncurses (the dev package if you are on debian-based distros)
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
3) Set the environment variable PREFIX to the address you want them to be in
4) Install
Like this:
2019-03-21 10:28:37 -04:00
``` sh
2019-05-13 09:58:19 -04:00
git clone https://github.com/untakenstupidnick/nbsdgames
2019-04-02 22:18:10 -04:00
cd ~/nbsdgames/sources
2019-03-20 14:01:58 -04:00
export PREFIX= ~/bin
make install
2019-03-21 10:28:37 -04:00
```
2019-03-20 14:01:58 -04:00
2019-04-03 15:23:41 -04: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 10:41:18 -04:00
the deb package: https://github.com/untakenstupidnick/nbsdgames/releases/download/v2.0/nbsdgames_amd64.deb
2019-04-02 18:42:11 -04:00
2019-04-06 22:58:59 -04:00
It's available on AUR thanks to Elias Riedel Gårding: https://aur.archlinux.org/packages/nbsdgames-git/
2019-04-06 23:21:17 -04:00
(The commands start with nbsd_ to avoid conflict)
2019-04-07 03:08:31 -04:00
2019-08-05 09:55:54 -04:00
It's been made available for openSUSE thanks to Jan Brezina: https://build.opensuse.org/package/show/home:Zinjanthropus/nbsdgames
2019-03-21 10:55:03 -04:00
## How do these look like
2019-03-21 10:28:37 -04:00
![Screenshot from 4 games in tmux](https://raw.githubusercontent.com/untakenstupidnick/new-bsd-games/master/screenshot.png)
2019-03-20 14:01:58 -04:00
2019-03-20 10:16:33 -04:00
2019-04-02 19:58:22 -04:00
## How to contribute
2019-05-13 10:41:18 -04:00
Oh, so kind! You can...
2019-04-02 19:58:22 -04:00
* Share these with your friends
2019-08-05 09:55:54 -04: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 10:41:18 -04:00
* Make a package for your distro (or put it on repos and tell me afterwards)
2019-05-13 09:58:19 -04: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)