1
0
Fork 0
A package of 18 text-based modern games.
Go to file
me 4b024154c9 menu icon 2022-02-02 04:02:27 +03:30
man adding nb* names 2021-08-05 03:29:10 +04:30
LICENSE CC0 2021-08-16 19:23:53 +04:30
Makefile added menu 2022-02-02 01:55:05 +03:30
README.md going for vesion 5 2022-02-02 03:57:43 +03:30
battleship.c no arguments 2021-12-22 13:04:35 +03:30
checkers.c typo bug 2022-01-25 17:46:08 +03:30
circlejump.c no arguments 2021-12-22 13:04:35 +03:30
common.h print it right 2022-01-28 19:36:50 +03:30
config.h fixing various warnings 2021-07-18 22:33:20 +00:00
darrt.c moved to common.h 2022-01-28 19:37:18 +03:30
fifteen.c Fixing NO_VLA 2021-09-08 09:32:12 +04:30
fisher.c print it right 2022-01-28 19:36:50 +03:30
jewels.c no arguments 2021-12-22 13:04:35 +03:30
memoblocks.c no arguments 2021-12-22 13:04:35 +03:30
miketron.c improved gameplay 2022-02-02 01:55:52 +03:30
mines.c vertical scroll added 2022-01-28 09:08:32 +03:30
mkfile some changes to mkfile, in hope that it works 2021-04-21 13:03:03 +04:30
muncher.c getopt, etc. 2021-08-16 19:24:22 +04:30
nbsdgames.c added menu 2022-02-02 01:55:23 +03:30
nbsdgames.desktop menu icon 2022-02-02 04:02:27 +03:30
nbsdgames.svg menu icon 2022-02-02 04:02:27 +03:30
pipes.c getopt, etc. 2021-08-16 19:24:22 +04:30
rabbithole.c no arguments 2021-12-22 13:04:35 +03:30
redsquare.c print it right 2022-01-28 19:36:50 +03:30
reversi.c getopt, etc. 2021-08-16 19:24:22 +04:30
snakeduel.c getopt, etc. 2021-08-16 19:24:22 +04:30
sos.c Fixing NO_VLA 2021-09-08 09:32:53 +04:30
sudoku.c NO_VLA 2021-10-15 11:35:57 +03:30

README.md

New BSD Games

You have a computing machine from 1980's and you wonder how you can use it?
You are a bored sysadmin with no work, and need to kill time looking busy with terminal?
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?
Did you have Plan9 dual-booted with OpenBSD and kept the OpenBSD just for gaming?
Are you the DSL developer and have cancelled the project because you lacked games?
Those creepy GTK/QT games make you cringe?
You have to make a Reversi AI for your homework and you don't know where to copy it from?
You have been so excited about the bsdgames, but have grown tired of playing tetris, snake and robots for billions of times?
You feel they have betrayed you by bundling stuff like phantasia with a package you expect to contain GAMES?
You installed this from Homebrew, thinking it is bsdgames, and now you are looking up what you actually installed?

Don't worry anymore as you've got nbsdgames now!

This Cloud-Capable ™️ ©️ , Artificial Intelligence ©️ ™️ Powered Solutions ™️ Developed by an International Team Solves the LongStanding Gaming on Linux ™️ Problem ™️.

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).

The games include:

  • Jewels (A game with a gameplay kinda similiar to that of Tetris, NOT my invention)
  • Sudoku
  • Mines (Minesweeper)
  • Reversi
  • Checkers
  • Battleship
  • SOS
  • 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)
  • Pipes (Same as the famous Pipe Mania, unplayable on the environments that don't support the line characters)
  • Fifteen
  • Memoblocks (or Memory blocks. A similar game was included in Windows 7)
  • Fisher
  • Muncher
  • Miketron
  • Redsquare (Conway's Game of Life made playable!)
  • Darrt (with original gameplay!)
  • Snakeduel
  • Tugow (Numlock practice game)

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!

Play on xterm for best experience.

Prerequisites

  • git (optional)
  • POSIX make (optional)
  • A C compiler with C99 enabled
  • The standard library
  • ncurses (libncurses5-dev if you are on debian-based distros)

To install them all on debian-base :

        sudo apt install git make gcc libncurses5-dev

How to run

  1. Download the files
  2. Go to the sources directory
  3. Install

Like this:

        git clone https://github.com/abakh/nbsdgames
        cd ./nbsdgames
        make
        sudo make install # or use the binaries already compiled

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.

Packages

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.

Thanks to Gürkan Myczko for packaging.

It's available on Arch (AUR) thanks to Elias Riedel Gårding: https://aur.archlinux.org/packages/nbsdgames-git/ (The commands start with nb to avoid name conflict)

It's been made available for rpm distros thanks to Zinjanthropus: https://build.opensuse.org/package/show/home:Zinjanthropus/nbsdgames

It's available on pkgsrc (default on NetBSD, Minix, supports everything else) thanks to nia: https://pkgsrc.se/games/nbsdgames

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

It's available on FreeBSD thanks to Robert Clausecker https://www.freshports.org/games/nbsdgames/

How do these look like

Linux+xterm+tmux Screenshot from 4 games in tmux

Plan9 Screenshot from the games in Plan9

Windows Screenshot from the games in Windows 7

How to contribute

  • Share these with your friends and others
  • Your stars make the repo more findable in Github
  • Tell me your feature requests, bug reports, etc.
  • Tell me the games you want to be added (but in the same genre, I can't port Angry Birds to curses! :)
  • Make a package for your distro (or put it on repos if the package is not there)
  • Getting it to Redhat and SUSE repos would be nice.

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 ❤️