Wizzard Match-3 (a bejewelled/candy crush style clone)

Talk about programming of homebrew games only.
Post Reply
User avatar
eggmceye
Posts: 3
Joined: Sat Jun 05, 2021 3:55 am

Wizzard Match-3 (a bejewelled/candy crush style clone)

Post by eggmceye » Sun Jun 06, 2021 5:11 am

Hi everyone,

Bin & source code (in C) is available on my website:
http://swut.net/wizzard-match3.html

I have finished a bare bones match-3 game for Creativision. It is written in C and compiled with cc65 with a slightly modified cc65 config to squeeze it into an 8k cart, which for me was the easiest to burn an EPROM and try it on a real wizzard with a socketed 8k cart (made from a dead sonic Invader!) Of course, it works with the creativision.exe emulator, which is what I tested it on during development.
wizmatch3.png
It's quite bare bones but also quite playable. With cc65 I was only limited to a bit over 300 lines of C (!) and had to do some real code golf and other poor programming practices in order to get it all to fit onto an 8k cart.

On that page is also a schematic of an 8k cart for wizzard (like I said, I just gutted a dead sonic invader) - and it's quite easy to burn 8k bins to the ubiquitous 27c64 eprom for playing on a real CV!

Other than code golf the biggest hurdle was having to read the VDP manual to work out how to define custom chars, and plot to screen with different colours, neither of which are supported natively by cc65. If you are interested in how I got those work, commented source code is available on my website linked above. Note also that the timing of a real CV is different to an emulator and I had to slow down a lot of pokes when writing to the VDP: things that worked in emulation didn't work on a real CV. Also cc65's clrscr() doesn't work properly on real hardware, but I have run out of space (in the bin) and enthusiasm to fix that !

I'm pretty sure with some tweaking of cc65 config you could make a 16k version and add some more features & polish, but I'm done with it 8-)
You do not have the required permissions to view the files attached to this post.
User avatar
Mobsie
Posts: 708
Joined: Fri Jun 13, 2008 10:38 am
Location: Weinheim, Germany

Re: Wizzard Match-3 (a bejewelled/candy crush style clone)

Post by Mobsie » Sat Jan 22, 2022 10:10 am

Hi,
great yes. 16kb are easy to do. To slow down vdp access is something i not like but if it work for you then okay,
User avatar
MADrigal
Site Admin
Posts: 1189
Joined: Sun Sep 15, 2013 1:00 pm
Contact:

Re: Wizzard Match-3 (a bejewelled/candy crush style clone)

Post by MADrigal » Fri Jan 06, 2023 12:14 am

The game is lovely! It plays like a charm.
If you don't mind, I will place the BIN on the CreatiVEmu website (ROMs section). The file would be zipped and I would include a link to your homepage, too.
Post Reply