Tuesday, 23 April 2019

Shoplifting Boy-- the First Stealth Game-- Reprogrammed on TRS-80 MC-10

I have made a BASIC program recreating the game Shoplifting Boy (万引き 少年) for the NEC PC-6001.

The original version of the game was created by Hiroshi Suzuki for the Commodore PET 2001 in 1979. It is credited with being one of the first "stealth" games. I reprogrammed this version based on many viewings of a video which discusses the historical impact of Suzuki's game on the stealth video game genre:

The author of that video used a sequence of video showing what is apparently a port of the original to the NEC-PC6001. It's possible that it is being played on one of the other MC6847-based PCs from Korea or Japan, but the appearance of the title "N60 Basic on the startup screen makes me pretty confident it's on the NEC. Here are some screenshots of the original Commodore PET version for comparison:



You can see a transliteration of the original game name as "Manbiki  Syonen." Not really sure if "shoplifting boy" is a direct translation or simply the closest approximation in English of some idiomatic Japanese term for young male toughs who practice the art of the 5 finger discount.

In the Commodore PET version it looks like the shoplifter is carrying a bag for his loot. The bigger screen of the PET (40 X 25 versus 32 X 16 on the NEC) allows for more items. Things are a little more cramped in the NEC version, and even a little more so in my MC-10 version. Since the MC-10 doesn't have the special line-draw characters, only semigraphics characters, I had to extend the height of the figures to 3 character rows, to get "feet" on the bottoms of each leg. This necessitated a special routine that refreshes the entire background so that shelves can be redrawn after the character passes overtop them, etc. Still, from what I can see from the video, I think my version is much faster than the NEC version. Most Basic games are pretty slow on the NEC. Its combination of the Z80 and MC6487 video chip wasn't conducive to the creation of a speedy 8-bit system. So I suspect that my version will be more enjoyable to play than the NEC version. Can't say how the Commodore PET version would have played. Based on comments made by the game historian, Stealth Docs, in the video, it would appear to be very difficult to find the game on the Net in any kind of working form. Here's a video of my version in operation:


Since making that video I have added a musical refrain "Money Money" from Abba instead of the buzzer when you clear the screen. I have also better calibrated the timer and scoring with the help of my son Charlie. Thanks my good chum!  The game can be played from my GameJolt page. Just choose "Recodings of Classic Games" and then select "SHOPLIFT" from the Cassette menu. Then type RUN and hit Enter in the main emulator screen:


I now have quite a collection of classic Japanese Basic games ported to MC-10: Pitman, Fruit Panic, Space Mouse, Cavern 2160, Tacle Penguin, Arabian Rhapsody, Mt. Fuji Eruption, Space Freighter Nostromo, Binary Room, and Defense.  And a Nyan Cat animated graphic to boot.

I can add this collection to my other international collections:
"Romp in the Garden" (Bulgarian)
ZX81 game ports and remakes (England and Scotland)
VZ200/Laser games (Germany and Australia)
TRS-80 Model 1 and 3 games (U.S.A)
MC1000 games (Brazil)
Dragon 32 games (Wales)
Matra Hachette Alice 32 games (France)

I'm currently working on an empire building simulation called "World Governor," which I'm translating from a German program for the Laser 8-bit home computer. I added a nifty random "flag"generator routine for each country. The game has tactical nukes and you can enter your leader's name, so you can, like my son used to do in the modern game "Civilization," have Gandhi nuke an opposing country as he ruthlessly builds his empire.


I had to create a subroutine for putting commas in big numbers, since there are so many used in this game. The routine works pretty well. I will have WorldGov debugged soon. Also added the comma routine to my Wildcat game, since it also uses big numbers in simulating the finances of running a oil and gas wildcatting business.

Addendum (Dec 2023):

I recently spotted this graphic image on the Net which seems to show a shot of the cover of a magazine in which the original type-in version of Shoplifting Boy was published:



While viewing the old source code again for the game, I realized that my extensive recoding efforts described above might have disrupted some of the feel of the original game.  As I played it, I began to wonder whether what I had produced was more of a -recode than a port.  Part of the necessity of the extensive modification arose from the need to create the body and legs using the blocky semigraphic-4 characters of the MC-10, which doesn't have the more refined box and line-drawing characters as part of its character set like the NEC PC-6001 does.  This meant that I had to add an extra line to try to recreate the look of the line character body and legs of the original. I began to think about how I could perhaps more abstractly represent the body and legs using only in a single line of semigraphic-4 block characters and came up with some ideas.  I thought these looked pretty good, so I returned to the original source and did a more straightforward port of the code only tweaking it to account for the differences in syntax between the two versions of BASIC. What I came up with was a more direct port.  I also applied Greg Dionne's better key input methods, which allow for smoother more responsive input.  The result is, I think, a better representation of the original game:


And while I was scrounging through the old Japanese MICOM computer magazines I came across another game for the NEC PC-6001 which I thought I could port:


My work in animating the character using simple semgraphic-4 characters in Manbiki and in my recent port and graphic update of Football Manager from the Dragon 32 gave me the idea for slightly modifying the skiing character to look a little more like a real skier.  Here is a video of Football Manager:

I'm pretty pleased with how this graphic animation came out.  It makes the MC-10 version a little more like the popular Sinclair Spectrum version of the game by Kevin toms with its "game highlights."



Thanks Kevin for a great game now for the TRS-80 MC-10!