Giter Site home page Giter Site logo

cgames's Introduction

The programs in this distribution are re-implementations of games for
the Linux console.

Three games are included with this distribution:

* cblocks (sliding-block puzzles),
* cmines (a minesweeper-based game), and
* csokoban (sokoban).

Alternate versions are included, which do not need to be played on the
console. However, these versions lack the font-altered images and full
mouse support.

INSTALLING

To build and install all the games, the usual incantation will
suffice: ./configure ; make ; make install.

Useful arguments to ./configure include: --bindir, which defaults to
/usr/local/games, --mandir, which defaults to /usr/local/man, and
--datadir, which defaults to /usr/local/share.

In addition, you can use --with-ncurses to build the ncurses-based
versions of the programs instead of the Linux console versions, and
--disable-mouse to build the programs without mouse support.

See the README files in each directory for more information.

JUSTIFICATION

One day I was playing Xsokoban when it struck me that this game
clearly was originally created for a text terminal. Curious, I did
some hunting around, and finally found one curses-based implementation
of sokoban, a Linux 1.x port from Minix code (which in turn had been
ported at least once before). I realized that the X version of the
game had completely eclipsed its origins at the terminal.

I'm not a big fan of GUIs for the sake of graphics. Pretty pictures
are nice, but text mode is where I spend most of my time. And the
Linux console has many extremely advanced features for a text
terminal, yet I just don't see many programs taking advantage of them.

I decided to rewrite some of my favorite games for the Linux console,
so I could play them without X, pretty pictures and all.

THE FINE PRINT

The programs in this distribution are free software. The software is
distributed under the terms of the GNU General Public License version
2 (or, at your option, any later version). See COPYING for specifics.

Bug reports and other comments should be directed to myself.

Share and enjoy.

Brian Raiter <[email protected]>
September, 2000

cgames's People

Contributors

br903 avatar h3xx avatar neuhaus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cgames's Issues

Running problem (without ncurses version).

Now another one! :-)
Csokoban and Cblocks are failing to run (without ncurses).

>csokoban

Original.txt: Inappropriate ioctl for device
csokoban: Failed to initialize terminal.
>

and

>cblocks
Classics.txt: Inappropriate ioctl for device

cblocks: Failed to initialize terminal.
>

Ncurses version runs flawlessly.
Personally I prefer the ncurses version, but I'm reporting it anyway.

Failed to install csokoban

So I was trying to install the package, the only thing I have different is that the file path (you can see in pastebin) is not the default, not sure if I need to actually change that or not. And I did disable the mouse because I will most likely be using it in tty6. Heres the pastebin! http://pastebin.com/j6t1GAdZ Thanks to anyone who can give me some answers.

Error while installing

ERROR MESSAGE

command
make

output
fatal error: gpm.h: No such file or directory
#include <gpm.h>
^~~~~~~
compilation terminated.
: recipe for target 'userio.o' failed
make[1]: *** [userio.o] Error 1
make[1]: Leaving directory '/home/anikde/games/cgames-2.2b/cmines'
Makefile:28: recipe for target 'cmines-build' failed
make: *** [cmines-build] Error

Make failure.

Hi! :-)

Make returns this error message:

userio.c:41:17: fatal error: gpm.h: No such file or directory
 #include <gpm.h>
                 ^
compilation terminated.
<builtin>: recipe for target 'userio.o' failed
make[1]: *** [userio.o] Error 1
make[1]: Leaving directory '/home/giorgos/TEMPG/cgames-master/cmines'
Makefile:28: recipe for target 'cmines-build' failed
make: *** [cmines-build] Error 2

Now what? :-)
I'm on Debian Jessie (oldstable) x64 KDE.
PS. libgmp3-dev is already installed.

Wrong man directory.

Cgames 2.2a on Debian Jessie x64 KDE.

Configure brings a warning:

>./configure
creating symlinks
configure: creating ./config.status
config.status: creating csokoban/Makefile
config.status: creating cmines/Makefile
config.status: WARNING:  'cmines/Makefile.in' seems to ignore the --datarootdir setting
config.status: creating cblocks/Makefile
>

After the installation, man page is under root (/man/man6).

Moving it manually to /usr/local/share/man/man6/, solves the problem.

csokoban: does not start; inappropriate ioctl for device

I am running Ubuntu 13.10 and I compiled cgames with the options --disable-mouse and --with-curses.

I ran make and sudo make install

cblocks and cmines work fine. When I run csokoban, I get the following error:

Original.txt: Inappropriate ioctl for device
csokoban: Failed to initialize terminal.

I am unsure what is causing the error exactly. Any suggestions?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.