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
2020-06-12 22:34:46 +02:00
sources try to make memoblocks work 2020-06-12 22:34:46 +02:00
LICENSE CC0 2020-05-24 17:58:38 +04:30
README.md redsquare 2020-05-26 20:48:49 +04:30
screenshot.png Second version 2019-03-20 17:46:33 +03:30

New BSD Games

You have a computing machine from 1980's and you wonder how you can use it?
You deal with a GUI-less machine at work and are looking for ways to kill time?
You are the DSL developer and have cancelled the project because you lacked games?
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!

I originally made these in hope of them becoming added to NetBSD (but the few i talked to preferred to have games in the repositories rather than in /usr/games itself).

These 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!)

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

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!

I have encounterd Fisher, Muncher and Miketron on MikeOS and RedSquare on KolibriOS.

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. Set the environment variable PREFIX to the address you want them to be in
  4. Install

Like this:

	 git clone https://github.com/untakenstupidnick/nbsdgames
        cd ./nbsdgames/sources
        export PREFIX= ~/bin
        make install

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. the deb package: https://github.com/untakenstupidnick/nbsdgames/releases/download/v2.0/nbsdgames_amd64.deb

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

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

How do these look like

Screenshot from 4 games in tmux

How to contribute

  • Share these with your friends
  • 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 it's 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, i didn't expect such an amount of assistance <3