• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

man/H18-Jul-2021-396345

LICENSEH A D18-Jul-2021422 53

MakefileH A D03-May-20222.3 KiB6653

README.mdH A D18-Jul-20214 KiB10176

battleship.cH A D18-Jul-202113.8 KiB645602

byte.hH A D18-Jul-202161 43

checkers.cH A D18-Jul-202115 KiB701657

common.hH A D18-Jul-20212.3 KiB8062

config.hH A D18-Jul-20211.5 KiB6035

darrt.cH A D18-Jul-20219 KiB446396

fifteen.cH A D18-Jul-20215.7 KiB268247

fisher.cH A D18-Jul-20218 KiB386359

jewels.cH A D18-Jul-20218.5 KiB345307

memoblocks.cH A D18-Jul-20216.2 KiB278258

miketron.cH A D18-Jul-202110.6 KiB525491

mines.cH A D18-Jul-20218.3 KiB404371

mkfileH A D18-Jul-2021563 3629

muncher.cH A D18-Jul-20219.2 KiB457425

pipes.cH A D18-Jul-202110.5 KiB501463

rabbithole.cH A D18-Jul-20217.2 KiB336309

redsquare.cH A D18-Jul-202116.5 KiB618566

reversi.cH A D18-Jul-20218.6 KiB417384

snakeduel.cH A D18-Jul-202115.5 KiB779717

sos.cH A D18-Jul-20219.6 KiB443419

sudoku.cH A D18-Jul-202111.1 KiB487458

README.md

1# New BSD Games
2 *You have a computing machine from 1980's  and you wonder how you can use it? <br/>
3  You are a bored sysadmin with no work, and need to kill time looking busy with terminal?  <br/>
4  You are the DSL developer and have cancelled the project because you lacked games? <br/>
5  Those creepy GTK/QT games make you cringe? <br/>
6  You have to make a Reversi AI for your homework and you don't know where to copy it from? <br/>
7  You have been so excited about the bsdgames, but have grown tired of playing tetris, snake and robots for billions of times? <br/>
8  You feel they have betrayed you by bundling stuff like phantasia with a package you expect to contain GAMES?* <br/>
9
10
11**Don't worry** anymore as you've got nbsdgames now!
12
13The games include:
14
15* Jewels (A game with a gameplay kinda similiar to that of Tetris, NOT my invention)
16* Sudoku
17* Mines (Minesweeper)
18* Reversi
19* Checkers
20* Battleship
21* SOS
22* 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)
23* Pipes (Same as the famous Pipe Mania, unplayable on the environments that don't support the line characters)
24* Fifteen
25* Memoblocks (or Memory blocks. A similar game was included in Windows 7)
26* Fisher
27* Muncher
28* Miketron
29* Redsquare (Conway's Game of Life made playable!)
30* Darrt (with original gameplay!)
31* Snakeduel
32
33
34The 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!
35
36Play on xterm for best experience.
37
38## Platforms
39
40They natively run on Linux, BSD, MacOS and are known to work on Windows as well (using PDCurses, thanks to Laura Michaels for providing advice).
41
42They have been ported to Plan9 thanks to Jens Staal!
43
44## Prerequisites
45
46* git (optional)
47* POSIX make (optional)
48* A C compiler with C99 enabled
49* The standard library
50* ncurses (libncurses5-dev if you are on debian-based distros)
51
52To install them all on debian-base :
53
54``` sh
55        sudo apt install git make gcc libncurses5-dev
56```
57## How to run
58
591) Download the files
602) Go to the sources directory
613) Install
62
63Like this:
64
65``` sh
66        git clone https://github.com/abakh/nbsdgames
67        cd ./nbsdgames
68        make
69        sudo make install # or use the binaries already compiled
70```
71## Packages
72Also, If you are on a debian-based OS (Ubuntu, Mint) on a 64-bit PC you can download the deb package and simply install it with dpkg or apt.
73the deb package: https://sid.ethz.ch/debian/nbsdgames/nbsdgames_4.0-1_amd64.deb
74Thanks to Gürkan Myczko for packaging.
75
76It's available on Arch (AUR)  thanks to Elias Riedel Gårding: https://aur.archlinux.org/packages/nbsdgames-git/
77(The commands start with nb to avoid name conflict)
78
79It's been made available for rpm distros thanks to Zinjanthropus: https://build.opensuse.org/package/show/home:Zinjanthropus/nbsdgames
80
81It's available on pkgsrc (default on NetBSD, Minix, supports everything else) thanks to nia: https://pkgsrc.se/games/nbsdgames
82## How do these look like
83Linux+xterm+tmux
84![Screenshot from 4 games in tmux](https://raw.githubusercontent.com/abakh/junk/master/screenshot.png)
85
86Plan9
87![Screenshot from the games in Plan9](https://raw.githubusercontent.com/abakh/junk/master/screenshot_plan9.png)
88
89Windows
90![Screenshot from the games in Windows 7](https://raw.githubusercontent.com/abakh/junk/master/screenshot_windows.jpg)
91
92## How to contribute
93* Share these with your friends and others
94* Your stars make the repo more findable in github :star:
95* Tell me your feature requests, bug reports, etc.
96* Tell me the games you want to be added (but in the same genre, I can't port Angry Birds to curses! :)
97* Make a package for your distro (or put it on repos if the package is not there)
98* Does anyone understand debian's .orig.tar.gz and the process to make packages to the repos? Any help would be appreciated.
99
100Also 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:
101