Trolley Problem for Unexpanded VIC
Moderator: Moderators
- chysn
- Vic 20 Scientist
- Posts: 1204
- Joined: Tue Oct 22, 2019 12:36 pm
- Website: http://www.beigemaze.com
- Location: Michigan, USA
- Occupation: Software Dev Manager
Trolley Problem for Unexpanded VIC
I haven't observed the practice of making work-in-progress posts about my games. That's because I don't want to put the pressure on myself to deliver something in a reasonable timeframe. I'm making an exception in this case because the game framework is complete, and I'm just designing levels now. It turns out that it's harder to design levels for a puzzle game than to build the actual game, but it's fun work.
Trolley Problem is a puzzle game for unexpanded VIC-20. It provides (edit) twelve city plans of increasing difficulty. Your job is to use switches to guide the trolley to waiting passengers, and then deliver them to the depot on schedule. You can also control the speed of your trolley, if you need time to think... but time marches on!
More to come!
Trolley Problem is a puzzle game for unexpanded VIC-20. It provides (edit) twelve city plans of increasing difficulty. Your job is to use switches to guide the trolley to waiting passengers, and then deliver them to the depot on schedule. You can also control the speed of your trolley, if you need time to think... but time marches on!
More to come!
Last edited by chysn on Wed Jan 27, 2021 12:39 pm, edited 2 times in total.
VIC-20 Projects: wAx Assembler, TRBo: Turtle RescueBot, Helix Colony, Sub Med, Trolley Problem, Dungeon of Dance, ZEPTOPOLIS, MIDI KERNAL, The Archivist, Ed for Prophet-5
WIP: MIDIcast BASIC extension
he/him/his
WIP: MIDIcast BASIC extension
he/him/his
- AndyH
- Vic 20 Afficionado
- Posts: 439
- Joined: Thu Jun 17, 2004 5:51 am
- Website: https://www.hewco.uk
- Location: UK
- Occupation: Developer
Re: Trolley Problem for Unexpanded VIC (WIP)
Looks like another hit to me.
-
- Vic 20 Hobbyist
- Posts: 128
- Joined: Sun Dec 26, 2010 1:51 pm
Re: Trolley Problem for Unexpanded VIC (WIP)
I was expecting a more gruesome game based on the title ;D
I like these types of puzzle games. Looking forward to it. Does it load levels from disk? Maybe a level editor might be cool.
I like these types of puzzle games. Looking forward to it. Does it load levels from disk? Maybe a level editor might be cool.
- chysn
- Vic 20 Scientist
- Posts: 1204
- Joined: Tue Oct 22, 2019 12:36 pm
- Website: http://www.beigemaze.com
- Location: Michigan, USA
- Occupation: Software Dev Manager
Re: Trolley Problem for Unexpanded VIC (WIP)
Ha! I couldn't figure out how to devise a scoring system without putting my hand on the scale, so to speakmalcontent wrote: ↑Tue Jan 19, 2021 9:46 pm I was expecting a more gruesome game based on the title ;D

Yes, levels can be loaded from disk, potentially. A set of 12 levels takes 576 bytes (48 bytes per level) of contiguous memory starting at $19c0. The track layout is held in 32 bytes, 1 byte for the location of the depot, 1 byte for the time limit, and 14 bytes for a combination of 13 switches and/or passengers (delimited by $00). It lends itself well to a level editor, conceptually, but the format is so simple that it's faster to just work out the numbers by hand.I like these types of puzzle games. Looking forward to it. Does it load levels from disk? Maybe a level editor might be cool.
Here's a gameplay video of a couple sample levels. I'm not yet sure whether these will be levels 1 and 2, but they're both fairly uncomplicated. Sadly, I have no idea how to record the sound effects and music into Quicktime, so it's silent.
https://www.youtube.com/watch?v=WlOUGebYAEs
Re: Trolley Problem for Unexpanded VIC (WIP)
Loooks amazing. Looking forward to it!
Cheers
Cheers
Re: Trolley Problem for Unexpanded VIC (WIP)
There was a very well made BASIC C64 game, Trolley Follies, a few years ago.
https://www.youtube.com/watch?v=YOT4Rro7lY0
Your game looks smooth & pretty.
https://www.youtube.com/watch?v=YOT4Rro7lY0
Your game looks smooth & pretty.
Last edited by hasseapa on Fri Jan 22, 2021 5:56 am, edited 1 time in total.
-
- Vic 20 Hobbyist
- Posts: 128
- Joined: Sun Dec 26, 2010 1:51 pm
Re: Trolley Problem for Unexpanded VIC (WIP)
I agree with the comment on the video, it looks disconcerting to see the trolly make an impossible turn. If you can't actually fit a switching animation in, maybe it would be better to alter the static look of the intersections.
- chysn
- Vic 20 Scientist
- Posts: 1204
- Joined: Tue Oct 22, 2019 12:36 pm
- Website: http://www.beigemaze.com
- Location: Michigan, USA
- Occupation: Software Dev Manager
Re: Trolley Problem for Unexpanded VIC (WIP)
You're the third person to say this, including my son. So that means I should probably listen. The idea was to indicate the direction the trolley would take if it reaches the intersection from the non-switchable side. It will always make a right turn in this situation. But yes, when it reaches the intersection from a switchable side, it can make funny-looking turns.malcontent wrote: ↑Thu Jan 21, 2021 10:02 pm I agree with the comment on the video, it looks disconcerting to see the trolly make an impossible turn. If you can't actually fit a switching animation in, maybe it would be better to alter the static look of the intersections.
I changed the switchable track sections to be perpendicular. But, I still wanted some visual indicator for the non-switchable right turn, so I just put a one-pixel dot in that direction:
Then again, I also like the look of this, with the switchable intersections kind of flared out:
VIC-20 Projects: wAx Assembler, TRBo: Turtle RescueBot, Helix Colony, Sub Med, Trolley Problem, Dungeon of Dance, ZEPTOPOLIS, MIDI KERNAL, The Archivist, Ed for Prophet-5
WIP: MIDIcast BASIC extension
he/him/his
WIP: MIDIcast BASIC extension
he/him/his
Re: Trolley Problem for Unexpanded VIC (WIP)
This looks like its going to be a lot of fun!
Re: Trolley Problem for Unexpanded VIC (WIP)
Very wise. It also avoids the dilemma of feeling you have to accommodate every suggestion that comes in..
Looking forward to trying this out.
3^4 is 81.0000001
- chysn
- Vic 20 Scientist
- Posts: 1204
- Joined: Tue Oct 22, 2019 12:36 pm
- Website: http://www.beigemaze.com
- Location: Michigan, USA
- Occupation: Software Dev Manager
Re: Trolley Problem for Unexpanded VIC (WIP)
It'll just be another day or two. There are a couple levels that I'm not entirely happy with, and about ten that I am.
Also, when I moved from Vice to the real VIC, with a real 1702, the color scheme I had turned out to be horrible. So I had to go back to the lab on that.
Also, when I moved from Vice to the real VIC, with a real 1702, the color scheme I had turned out to be horrible. So I had to go back to the lab on that.
VIC-20 Projects: wAx Assembler, TRBo: Turtle RescueBot, Helix Colony, Sub Med, Trolley Problem, Dungeon of Dance, ZEPTOPOLIS, MIDI KERNAL, The Archivist, Ed for Prophet-5
WIP: MIDIcast BASIC extension
he/him/his
WIP: MIDIcast BASIC extension
he/him/his
- chysn
- Vic 20 Scientist
- Posts: 1204
- Joined: Tue Oct 22, 2019 12:36 pm
- Website: http://www.beigemaze.com
- Location: Michigan, USA
- Occupation: Software Dev Manager
Re: Trolley Problem for Unexpanded VIC
Name: Trolley Problem
Author: Jason Justian
Genre: Puzzle/Arcade Game
Code: Machine Language
Requirements: Unexpanded VIC-20, Joystick
License: Creative Commons Attribution-NonCommercial 4.0
Availability: For purchase on cassette tape, or for download at https://github.com/Chysn/VIC20-TrolleyProblem/releases
Description: Switches guide the trolley to pick up riders, and drop them off at the depot on time. Trolley Problem has 12 levels of increasing difficulty. The STOP key restarts the current level.
Author: Jason Justian
Genre: Puzzle/Arcade Game
Code: Machine Language
Requirements: Unexpanded VIC-20, Joystick
License: Creative Commons Attribution-NonCommercial 4.0
Availability: For purchase on cassette tape, or for download at https://github.com/Chysn/VIC20-TrolleyProblem/releases
Description: Switches guide the trolley to pick up riders, and drop them off at the depot on time. Trolley Problem has 12 levels of increasing difficulty. The STOP key restarts the current level.
- Attachments
-
- VIC20-TrolleyProblem.zip
- (6.29 KiB) Downloaded 288 times
VIC-20 Projects: wAx Assembler, TRBo: Turtle RescueBot, Helix Colony, Sub Med, Trolley Problem, Dungeon of Dance, ZEPTOPOLIS, MIDI KERNAL, The Archivist, Ed for Prophet-5
WIP: MIDIcast BASIC extension
he/him/his
WIP: MIDIcast BASIC extension
he/him/his
Re: Trolley Problem for Unexpanded VIC
Admit it! What is your real mission agent, Anzu?
It's so amazing that you knock it out one game at a time, but how do you do it? I was told that I ask too many questions, but ... "If you don't ask, stay stupid", Germans say. I have to.
I wish that you show a dossier with all the strategies on "How to Make a Vic-20 Hit in 2021". Something different for you, I guess

It's so amazing that you knock it out one game at a time, but how do you do it? I was told that I ask too many questions, but ... "If you don't ask, stay stupid", Germans say. I have to.
I wish that you show a dossier with all the strategies on "How to Make a Vic-20 Hit in 2021". Something different for you, I guess
Valid rule today as earlier: 1 Byte = 8 Bits
-._/classes instead of masses\_.-
-._/classes instead of masses\_.-
- chysn
- Vic 20 Scientist
- Posts: 1204
- Joined: Tue Oct 22, 2019 12:36 pm
- Website: http://www.beigemaze.com
- Location: Michigan, USA
- Occupation: Software Dev Manager
Re: Trolley Problem for Unexpanded VIC
I have to have fun doing it, or there wouldn't be a point. I try to stretch myself a little with each game. Not quantum leaps, but just do something a bit new, while refining my set of routines. I find ways to improve them every single time. Also, I like to lean into the unexpanded VIC-20's smallesse. The distillation of everything is mentally engaging, I think.
- mathom
- Vic 20 Dabbler
- Posts: 95
- Joined: Wed Aug 07, 2019 11:37 am
- Location: Centennial, CO USA
- Occupation: Software Engineer
Re: Trolley Problem for Unexpanded VIC
This is going on my "quote wall." It nicely explains why the unexpanded machine is so intriguing but also sums up why messing about with retro gear in general can be so much fun.
...mathom...
...mathom...