Other

项目介绍

abakh/nbsdgames 是一个托管在 GitHub 上的开源项目,主要使用 C 编写,采用 Other 许可证,目前获得 317 个 Star、25 次 Fork。

仓库全名
abakh/nbsdgames
开源许可证
Other
Star 数
317
Fork 数
25
未关闭 Issue
4

README 摘要

New BSD Games You want to game on your router because you paid for the whole CPU? You have a computing machine from 1980's and you wonder how you can use it? You have Plan9 dual-booted with OpenBSD and have kept the OpenBSD just for gaming? You are a bored sysadmin with no work, and need to kill time looking busy with terminal? You have to make a Reversi AI for your homework and you don't know where to copy it from…

完整内容见 GitHub 原始 README 或本页 。

常见问题

nbsdgames 用什么语言开发?

主要使用 C 编写,采用 Other 许可证,目前有 317 个 Star。

nbsdgames 可以免费商用吗?

仓库标注的许可证为 Other,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 nbsdgames 的源码?

可以直接克隆仓库:git clone https://github.com/abakh/nbsdgames.git,默认分支为 master;安装与运行步骤见仓库 README。

nbsdgames 最近还在维护吗?

仓库最近一次更新为 12 小时前,当前有 4 个未关闭 Issue;Star 数为 317,可作为社区活跃度的参考。

关于

A package of 21 new, improved, text-based games. Some are entirely original ideas. Best and lightest!

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

语言占比

C
Makefile
Roff

Release

README

New BSD Games

You want to game on your router because you paid for the whole CPU?
You have a computing machine from 1980’s and you wonder how you can use it?
You have Plan9 dual-booted with OpenBSD and have kept the OpenBSD just for gaming?
You are a bored sysadmin with no work, and need to kill time looking busy with terminal?
You have to make a Reversi AI for your homework and you don’t know where to copy it from?
Did you come here thinking it is bsdgames?
You are a European scientist?

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

The games include:

  • Jewels
  • Sudoku
  • Mines
  • Reversi
  • Checkers
  • Battleship
  • SOS
  • Rabbithole
  • Pipes
  • Fifteen
  • Memoblocks
  • Fisher
  • Muncher
  • Miketron
  • Redsquare (Conway’s Game of Life made playable!)
  • Darrt (with original gameplay!)
  • Snakeduel
  • Tugow (Numpad practice game)
  • Trsr (Two-player minesweeper)
  • Scissor (Rock-paper-scissor made into an original and unique gameplay. A genre of its own)
  • Revenge

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!

Or just enter “nbsdgames” at your terminal to get a fancy menu and play all sorts of games from there.

Packages

It’s on almost every repo by now: Debian (and other DEBs), OpenSUSE (and other RPMs), AUR, Alpine, FreeBSD, NetBSD, DragonflyBSD, Minix, Homebrew (MacOSX) and more https://repology.org/project/nbsdgames/versions

Thanks to Elias Riedel Gårding, Zinjanthropus, Alex Myczko, Robert Clausecker, Sam James, and so many other nice people for packaging.

They also gave back code and useful feedback.

However some packages might be old, not having many games and improvements (in checkers, etc). You can try compiling as well.

How to compile the latest version

Have

  • 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
  1. Download the files
  2. Go to the sources directory
  3. Install

Like this:

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

Other Platforms

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

Fan projects

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

System Requirements

CPU: At least one core with enough hertz

RAM: 1 MB should be enough

OS: MS/DOS and higher

Disk space: 0.5 MB for installation. Leave some bytes for saving the scores (optional)

GPU: Use something new that has VGA on it. VGA is nice and colorful.

Such high-end computers would probably run it smoothly. No vaccum lamps and vaccum cleaners supported.

How to contribute

  • Share these with your friends and others
  • Your stars make the repo more findable in Github :star:
  • 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)
  • Share videos of your playing on YouTube and elsewhere (this is precious feedback), and nicely asking relevant youtubers and bloggers to do so.
  • Show cool stuff like your highscores etc.

Thanks 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:

评论

暂无评论