1
0
mirror of https://github.com/abakh/nbsdgames.git synced 2024-11-02 16:27:18 -04:00
A package of 18 text-based modern games.
Go to file
2021-04-23 18:09:03 +04:30
battleship.c CC's original notice 2021-04-23 18:09:03 +04:30
checkers.c CC's original notice 2021-04-23 18:09:03 +04:30
config.h Adding Darrt 2021-03-05 16:59:33 +03:30
darrt.c CC's original notice 2021-04-23 18:09:03 +04:30
fifteen.c CC's original notice 2021-04-23 18:09:03 +04:30
fisher.c CC's original notice 2021-04-23 18:09:03 +04:30
jewels.c CC's original notice 2021-04-23 18:09:03 +04:30
LICENSE CC0 2021-04-23 17:34:42 +04:30
Makefile Updating the .deb link 2021-04-20 18:39:41 +04:30
memoblocks.c CC's original notice 2021-04-23 18:09:03 +04:30
miketron.c CC's original notice 2021-04-23 18:09:03 +04:30
mines.c CC's original notice 2021-04-23 18:09:03 +04:30
mkfile some changes to mkfile, in hope that it works 2021-04-21 13:03:03 +04:30
muncher.c CC's original notice 2021-04-23 18:09:03 +04:30
pipes.c CC's original notice 2021-04-23 18:09:03 +04:30
rabbithole.c CC's original notice 2021-04-23 18:09:03 +04:30
README.md added pkgsrc link 2021-04-23 14:33:47 +04:30
redsquare.c CC's original notice 2021-04-23 18:09:03 +04:30
reversi.c CC's original notice 2021-04-23 18:09:03 +04:30
screenshot_plan9.png Cleanup,PSE,Plan9 2020-06-20 20:56:54 +04:30
screenshot_windows.jpg Warnings, errors. 2021-01-06 04:08:00 +03:30
screenshot.png Second version 2019-03-20 17:46:33 +03:30
snakeduel.c CC's original notice 2021-04-23 18:09:03 +04:30
sos.c CC's original notice 2021-04-23 18:09:03 +04:30
sudoku.c CC's original notice 2021-04-23 18:09:03 +04:30

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?
You are 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?

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

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

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.

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!

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)

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

Packages

Also, 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. the deb package: https://sid.ethz.ch/debian/nbsdgames/nbsdgames_4.0-1_amd64.deb 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

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)
  • Does anyone understand debian's .orig.tar.gz and the process to make packages to the repos? Any help would be appreciated.

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