Page 1 of 2

New game uploaded: Crazy Tetrominoes

Posted: Mon Jul 27, 2020 12:37 am
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






 

New game uploaded: Crazy Tetrominoes

Posted: Mon Jul 27, 2020 8:35 am
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!


New game uploaded: Crazy Tetrominoes

Posted: Mon Jul 27, 2020 10:38 am
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?


New game uploaded: Crazy Tetrominoes

Posted: Mon Jul 27, 2020 1:24 pm
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.


New game uploaded: Crazy Tetrominoes

Posted: Mon Jul 27, 2020 5:14 pm
by Main Administrator

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


New game uploaded: Crazy Tetrominoes

Posted: Mon Jul 27, 2020 5:38 pm
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.


New game uploaded: Crazy Tetrominoes

Posted: Mon Jul 27, 2020 5:49 pm
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.


New game uploaded: Crazy Tetrominoes

Posted: Mon Jul 27, 2020 5:58 pm
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.


New game uploaded: Crazy Tetrominoes

Posted: Mon Jul 27, 2020 6:38 pm
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?


New game uploaded: Crazy Tetrominoes

Posted: Mon Jul 27, 2020 6:40 pm
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.