S.U.P.E.R. HP 200LX Archive
← Back to the catalogue

Sokban

Download 51.9 KB

Description

Welcome to the Sokoban game Sokoban is a PD-game where you have to push objects through a maze until they are all on the dumps. But, as you might have guessed, this isn't always that easy: * You can only push. * You have only strength to move one object. * The maze doesn't give you much room to manoeuvre. * Other objects tend to act as movable walls. The final goal of the game is to master all 85 levels. After that you are no longer a rookie, you will become Master of the Sokoban game. What's in the package?

Description extracted automatically from the documentation inside the package: this entry was not in the original catalogue.

Technical details

File
sokban.zip
Size
51.9 KB
Format
.zip
Year
1992
Files inside
8
Path
anonftp/pub/sokban.zip

How to install it

What to send to the palmtop saves 55.4 KB

These are the files you need. You can send them from the package contents below.

  • LEVEL.EXE → A:\SOFT programa de DOS 15.8 KB
  • MINI-SOK.EXE → A:\SOFT programa de DOS 15.4 KB
  • PC-SOK.EXE → A:\SOFT programa de DOS 18.1 KB
  • SOKOBAN.EXE → A:\SOFT programa de DOS 18.1 KB

No need to put SOK-CODE.C, SOKOBAN.C, SOKOBAN.H, READ.ME: they are manuals, source code or supporting material. Read them here and save 55.4 KB on a 1 MB disk.

Steps
  1. Copy LEVEL.EXE, MINI-SOK.EXE, PC-SOK.EXE, SOKOBAN.EXE to A:\SOFT. They are DOS programs: run them from the DOS icon, or add A:\SOFT to the PATH in C:\AUTOEXEC.BAT to call them by name.

Derived from the package contents and the 200LX conventions. It installs to A: on purpose: C: is a RAM disk and every byte there is memory taken from the system.

The author's instructions
setup menu by hitting any other key
not listed on the menu.

The pc version is almost identical to
the full HP 95LX version. Only some
minor differences exist. Probably the
most important one is that the setup
file "sokoban.cnf" is stored in the
current directory.

The mini version for the HP 95LX is
stripped of all actions regarding the
setup file.

The level program is a bonus and it
shows you all levels. It is intended
to run on your pc.


The Sources

Well, what do I have to say on this?
Probably that it is for your private
use only. After you've modified it,
you may not distribute the version any
further without my permission.

If you compile "sokoban.c", you can
specify several macros:
* MINI_SOKOBAN
  Then you get the mini version.
* MesSDOS
  Then you get the MS-DOS version.
* If you specify none, you will get
  the full HP 95LX version.

You shouldn't change "sok-code.c" by
hand. Write a small program (like
"level.exe") that dump all levels of
"sok-code.c" in a readable form. Then
edit that readable form and write a
program that writes back the readable
form to "sok-code.c".

Finally, since the memory of the HP
95LX is limited and expensive, I
removed all formatted I/O and have
done all I/O at the lowest possible
level. It makes a big difference.


Known Bugs

I don't know how you can let disappear
the cursor and if it's invisible, how
you can get the original cursor back.
The solution I have used, is to put the
cursor somewhere, where it doesn't
distract your attention.


Maintainance

Hm..., well, if you send bug reports
to me, I promiss to correct them if I
can. But my time is a little bit
limited. If someone out there is
willing, to take over this task (and
become coauthor), please contact me!


Public Domain

This software is public domain. You
…

Literal excerpt from READ.ME, exactly as it came in the package.

Send to my palmtop

The palmtop must be waiting before you press the button, or the transfer will fail. It is the palmtop that announces it is ready, not the other way round.

First time? How to connect the palmtop, step by step →