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

2.2 KiB

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 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 except to contain GAMES?

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

I originally made these to be added to NetBSD ( but the few i talked with 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)

Prerequisites

  • POSIX make (optional)
  • A C compiler with C99 enabled
  • The standard library
  • libncurses (the dev package 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:

        cd ~/Downloads/sources
        export PREFIX= ~/bin
        make install

Alas, If you are on a debian-based OS on a 64-bit PC you can simply download the deb package and simply install it with dpkg or apt.

How do these look like

Screenshot from 4 games in tmux

License

No rights reserved.

I am living outside the Berne convention and therefore no meaningful licensing can be applied (meaning that it's public domain in most of the world).