<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://sokobano.de/wiki/index.php?action=history&amp;feed=atom&amp;title=First_Sokoban_program</id>
	<title>First Sokoban program - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://sokobano.de/wiki/index.php?action=history&amp;feed=atom&amp;title=First_Sokoban_program"/>
	<link rel="alternate" type="text/html" href="http://sokobano.de/wiki/index.php?title=First_Sokoban_program&amp;action=history"/>
	<updated>2026-04-17T17:10:49Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>http://sokobano.de/wiki/index.php?title=First_Sokoban_program&amp;diff=8116&amp;oldid=prev</id>
		<title>Briandamgaard: /* Play the game */ Updated link to the Internet Archive.</title>
		<link rel="alternate" type="text/html" href="http://sokobano.de/wiki/index.php?title=First_Sokoban_program&amp;diff=8116&amp;oldid=prev"/>
		<updated>2024-04-12T06:01:47Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Play the game: &lt;/span&gt; Updated link to the Internet Archive.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The [https://en.wikipedia.org/wiki/Sokoban Sokoban] game was invented in 1981 by Hiroyuki Imabayashi, Japan, and was first published by his software company, &amp;#039;&amp;#039;Thinking Rabbit&amp;#039;&amp;#039;, in December 1982 for the [https://en.wikipedia.org/wiki/PC-8800_series NEC PC-8801] computer. The game was distributed as cassette tape media.&lt;br /&gt;
&lt;br /&gt;
= Start of the game =&lt;br /&gt;
&lt;br /&gt;
Screenshot of the entry screen of the game:&amp;lt;br&amp;gt;&lt;br /&gt;
[[image:FirstSokoban.png]]&lt;br /&gt;
&lt;br /&gt;
The text roughly translates to:&amp;lt;pre&amp;gt;&lt;br /&gt;
** Sokoban **&lt;br /&gt;
&lt;br /&gt;
You have started a part-time job in a large warehouse company.&lt;br /&gt;
&lt;br /&gt;
Your job is to clear up 20 warehouse buildings.&lt;br /&gt;
&lt;br /&gt;
You must organize the boxes in the buildings.&lt;br /&gt;
&lt;br /&gt;
Because the boxes are large, you can only push them one at a time.&lt;br /&gt;
&lt;br /&gt;
If you do a bad job the boxes will get stuck.&lt;br /&gt;
Hence, you have to be careful.&lt;br /&gt;
&lt;br /&gt;
5 Key (Up)&lt;br /&gt;
1 Key (Left)&lt;br /&gt;
2 Key (Down)&lt;br /&gt;
3 Key (Right)&lt;br /&gt;
&lt;br /&gt;
The boxes must be placed on the red dots.&lt;br /&gt;
&lt;br /&gt;
Press the F1 key when the job is done, or if you want to start over again.&lt;br /&gt;
&lt;br /&gt;
Press the Space key to start!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Program features = &lt;br /&gt;
The game offers 20 levels to be played.&lt;br /&gt;
&lt;br /&gt;
After a level has been solved it&amp;#039;s necessary to press F1.&lt;br /&gt;
This makes the program check whether the level has been solved, in which case the player can proceed to the next level.&lt;br /&gt;
&lt;br /&gt;
If F1 is pressed when the level hasn&amp;#039;t been solved, the player is given the choice between exiting the game and restarting the level.&lt;br /&gt;
&lt;br /&gt;
The player has 5 attempts to solve the level, meaning it&amp;#039;s possible to restart a level 4 times.&lt;br /&gt;
&lt;br /&gt;
This first version of the program erroneously makes the dots representing the goal squares disappear when the player walks over them.&lt;br /&gt;
&lt;br /&gt;
= Levels =&lt;br /&gt;
The first 10 levels are regular Sokoban levels.&lt;br /&gt;
&lt;br /&gt;
Levels 11 to 20 contain some destructible walls.&lt;br /&gt;
&lt;br /&gt;
These special walls look the same as the other not destructible walls.&lt;br /&gt;
&lt;br /&gt;
However, the player can walk over these walls from specific sides and thereby destroy the walls.&lt;br /&gt;
&lt;br /&gt;
This is level 15 in the original game:&amp;lt;br&amp;gt;&lt;br /&gt;
[[image:First Sokoban Level 15 normal walls.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is the same level having the destroyable walls highlighted in blue and the direction they can be walked over indicated by small arrows:&amp;lt;br&amp;gt;&lt;br /&gt;
[[image:First Sokoban Level 15 highlighted walls.png]]&lt;br /&gt;
&lt;br /&gt;
The levels first become solvable after destroying these special walls.&lt;br /&gt;
&lt;br /&gt;
The walls can only be destroyed when entering them from one specific side.&lt;br /&gt;
However, in level 20 there is one exception. &amp;lt;br&amp;gt;&lt;br /&gt;
Level 20 contains a destructible wall at the top right which can be entered from left and right: &amp;lt;br&amp;gt;&lt;br /&gt;
[[image:First Sokoban Level 20 special wall.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Later versions of Sokoban don&amp;#039;t contain this special destructible wall type anymore.&lt;br /&gt;
&lt;br /&gt;
= Source code = &lt;br /&gt;
&lt;br /&gt;
The source code of this first Sokoban game was printed in the 1987 book &amp;quot;THE 倉庫番&amp;quot;, pages 117-122.&lt;br /&gt;
&lt;br /&gt;
The program was written in BASIC.&lt;br /&gt;
&lt;br /&gt;
= Game solved = &lt;br /&gt;
&lt;br /&gt;
After the last level has been solved (and F1 has been pressed so the game checks if the level is solved) the game prints &amp;quot;Congratulation&amp;quot;:&lt;br /&gt;
[[image:First Sokoban Game solved.png]]&lt;br /&gt;
&lt;br /&gt;
= Game texts = &lt;br /&gt;
&lt;br /&gt;
[Level failed]&amp;lt;br&amp;gt;&lt;br /&gt;
Do your best or you’ll get fired!&amp;lt;br&amp;gt;&lt;br /&gt;
Try again?(Y/N)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[Level complete]&amp;lt;br&amp;gt;&lt;br /&gt;
The first warehouse is done!&amp;lt;br&amp;gt;&lt;br /&gt;
Go to the next warehouse?(Y/N)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[Game over]&amp;lt;br&amp;gt;&lt;br /&gt;
You’re now dismissed!&amp;lt;br&amp;gt;&lt;br /&gt;
Start over?(Y/N)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[All levels complete]&amp;lt;br&amp;gt;&lt;br /&gt;
The message is ”ウサギ(rabbit)”&lt;br /&gt;
&lt;br /&gt;
= Interview with Hiroyuki Imabayashi =&lt;br /&gt;
&lt;br /&gt;
You can read a 1983 interview with Hiroyuki Imabayashi on [https://shmuplations.com/thinkingrabbit/ shmuplations.com/thinkingrabbit].&lt;br /&gt;
&lt;br /&gt;
Carlos Montiers Aguilera published his interesting 2020 Internet conversation about Sokoban with Hiroyuki Imabayashi at: [https://sokoboxes.com/articles/my-conversation-with-mr-hiroyuki www.sokoboxes.com].&lt;br /&gt;
&lt;br /&gt;
= Play the game =&lt;br /&gt;
&lt;br /&gt;
Using a so-called emulator, the original program can run on newer computer systems. Here is a package that lets you install and play the original program on computers with the Microsoft Windows operating system:&lt;br /&gt;
&lt;br /&gt;
[https://archive.org/details/sokoban-1982_20240412 Sokoban 1982 - The First Sokoban Program].&lt;br /&gt;
&lt;br /&gt;
The package contains two versions of the program:&lt;br /&gt;
* 1982 - The original 1982 Sokoban program.&lt;br /&gt;
* 2022 - A bugfixed and enhanced version of the 1982 Sokoban program.&lt;/div&gt;</summary>
		<author><name>Briandamgaard</name></author>
	</entry>
</feed>