Sudoku CPC in pure BASIC

Sudoku CPC by Adam Ioannides

Video: https://youtu.be/Cs4z_mHUg38

This game runs in Amstrad CPC 464, 664 and 6128.
Programmed in Locomotive BASIC.
Graphics, design and programming by Adam Ioannides.

Source

Downloadable source code, CDT and DSK in Bitbucket: Bitbucket

Disk contents

For adding, editing and change properties of files I used ManageDsk utility ( ManageDsk - CPCWiki ).
There are two disks in the project. One is the release (only mandatory files included, all files are hidden except SUDOKU.BAS, no break functionality) and the other is the development which contains:
LOADER.SCR - Splash screen graphics in mode 0.
GAME.SCR - Menu screen graphics in mode 1.
SUDOKU.BAS - Main program written in single BAS file.

Graphics

Graphics are created using Photopea.
Screen graphics are compiled to CPC format using ConvImgCPC.

10 Likes

Oh nice, must try this one :slight_smile:

Embedded vid:

1 Like

Sudoku is addictive wherever you are.

Yes! Now we can play Sudoku wherever we are on the CPC - the beach, the subway, work lunch break etc :smiley:

3 Likes

Wow, super cool achievement for Basic. Good work.

I like the game! I’ve also put it on CPCBasicApps, so it can be played with CPCBasicTS (with some extra program keys on the UI):

At first, I thought it could be played without any extra delay, but then some of the nice effects are missing.

Just played it again and noticed a small issue: You cannot move down into the bottom-right field. You can reach it by moving right, though.
The fix is quite simple: In line 1540, when moving down, check for i<73 instead.

Well done!

1 Like

Hi @mv13, is there a new version of CPCBasicTS ? Last release is 3 years ago.

Good point! I’ve continued developing CPCBasicTS over the past three years, but haven’t published any new releases in that time.

But now I’ve published a new release: CPCBasicTS v0.7.0.