This is really cool. The standard C version, could be compiled for the Cambridge Computers Z88, using Z88DK. Do you have any interest in doing this? I could help you, as I actually have a Z88.
Connect4 (a.k.a. Gravitrips, Forza 4) for the ZX Spectrum · By
Hi! Thank you very much!
I already attempted some development for the Z88 in the past, with CHIP-OTTO, my portable CHIP-8 virtual machine. The Z88 version was almost complete, but then I focused on the ZX Spectrum Next port and did not finish it . You can still see a gif in the CHIP-OTTO project page.
I would be definitely interested in the Z88DK port, maybe starting with a simple build of the standard version and then making a specific version optimized for the Z88 display. At the moment I am very busy with other projects, but as soon as I'll get some free time I'll try to prepare a Z88 build!
Hi! Sorry for the delay. I have just built the standard I/O version of Connect 4 for the Z88 / BBC Basic Target using z88dk.
It actually works, but needs some more tweaks to improve usability on the Z88... I'll try to improve it.
You can see it in action (OZvm emulator) in the video below:
Hope to give more updates soon!
For the z88 version, try....
printf(" %c[1m Connect Four %c[2m \n",27,27);
instead of (at 363)
printf("\n\n ### Connect four ###\n\n");
I tried this too...
// stampaRigaPiena(); //Stampo prima riga |---|---|--... (not printing this saves a line.) printf("|"); for(j=1; j<=C; j++) printf(" %d |", j); if(j<=C-1){printf("\n");} // Print 'enter your move' without creating a new line
What do you think?