New game uploaded: Crazy Tetrominoes

All aspects of programming on the Commander X16.
User avatar
DusanStrakl
Posts: 129
Joined: Sun Apr 26, 2020 9:15 pm
Location: Bay Area, California
Contact:

New game uploaded: Crazy Tetrominoes

Post by DusanStrakl »




Crazy Tetrominoes




View File






Tetris Clone written in BASIC.

 

Source code tutorial available at:

https://www.8bitcoding.com/p/crazy-tetrominoes.html

Enjoy






 
User avatar
AndyMt
Posts: 326
Joined: Sun Jun 21, 2020 3:02 pm
Location: Switzerland

New game uploaded: Crazy Tetrominoes

Post by AndyMt »


I gave it a first spin: really like it ?, good job! It's fun to see what you can do with PETSCI based graphics.

Also thanks for your extensive documentation on your blog. It's worth a read!

Main Administrator
Site Admin
Posts: 167
Joined: Sun Feb 27, 2022 12:43 am

New game uploaded: Crazy Tetrominoes

Post by Main Administrator »


It seems to crash in the web emulator. Are you aware of any problems with the emulator or is that something we need to check with our hosted version?

User avatar
AndyMt
Posts: 326
Joined: Sun Jun 21, 2020 3:02 pm
Location: Switzerland

New game uploaded: Crazy Tetrominoes

Post by AndyMt »


I don't see the "Try Now" button (but with other downloads), so I could not try it with the web-emulator. I downloaded it and ran it with the Windows emulator.

Main Administrator
Site Admin
Posts: 167
Joined: Sun Feb 27, 2022 12:43 am

New game uploaded: Crazy Tetrominoes

Post by Main Administrator »


Yeah, the button isn't activated for that game because it's not working.

SlithyMatt
Posts: 913
Joined: Tue Apr 28, 2020 2:45 am

New game uploaded: Crazy Tetrominoes

Post by SlithyMatt »


It does work in the web emulator if you copy and paste the BASIC source into the code panel.

Though, I did notice that if you hit the spacebar to speed up the fall, it gets "stuck" in fall mode for a few pieces even after you release the spacebar. I haven't tried in on the regular emulator yet to see if the same behavior exists there. But otherwise, it looks and works great on the web! Even the PSG sound effects come through clear.

Main Administrator
Site Admin
Posts: 167
Joined: Sun Feb 27, 2022 12:43 am

New game uploaded: Crazy Tetrominoes

Post by Main Administrator »


I've activated the button now so you all can see what happens. The emulator tries to start the program with a SYS command which leads to a crash.

User avatar
StephenHorn
Posts: 565
Joined: Tue Apr 28, 2020 12:00 am
Contact:

New game uploaded: Crazy Tetrominoes

Post by StephenHorn »


I'm guessing it's because it's a text file and not actually an encoded BAS file, and the web emulator is probably loading it like a PRG instead of using the -bas command line option.

Developer for Box16, the other X16 emulator. (Box16 on GitHub)
I also accept pull requests for x16emu, the official X16 emulator. (x16-emulator on GitHub)
User avatar
AndyMt
Posts: 326
Joined: Sun Jun 21, 2020 3:02 pm
Location: Switzerland

New game uploaded: Crazy Tetrominoes

Post by AndyMt »


I agree - I assume you would first have to paste the code into the editor, use "save" and then upload the .bas file?

User avatar
StephenHorn
Posts: 565
Joined: Tue Apr 28, 2020 12:00 am
Contact:

New game uploaded: Crazy Tetrominoes

Post by StephenHorn »



1 minute ago, AndyMt said:




I agree - I assume you would first have to paste the code into the editor, use "save" and then upload the .bas file?



That does allow the program to be run using -prg and -run.

Developer for Box16, the other X16 emulator. (Box16 on GitHub)
I also accept pull requests for x16emu, the official X16 emulator. (x16-emulator on GitHub)
Post Reply