A downloadable game

Download NowName your own price

4GRAVITY! is a  game written in ugBASIC and that runs on various 8-bit home computers like ATARI 400/800/XL/XEGS, Commodore 128 (8502), Commodore 128 (Z80), Commodore 64, Commodore 64 with REU, TRS-80 Color Computer 1/2, TRS-80 Color Computer 3, Amstrad CPC 664, Dragon 32/64, MSX, Olivetti Prodest PC128 and Commodore VIC-20.


This game is a "Connect Four" clone. It is a two-players, one-player and zero-player connection board game, in which the players take turns dropping colored tokens into a seven-column, six-row vertically suspended grid. The pieces fall straight down, occupying the lowest available space within the column. The objective of the game is to be the first to form a horizontal, vertical, or diagonal line of four of one's own tokens.

The source code is available on this repository.

This game was ranked third in the  "Forza 4" Challenge of the RetroProgramming Italia - RP Italia group. 

HOW MUCH HAS ugBASIC HELPED?

This cross-platform game would not have been possible without using ugBASIC: it is an isomorphic language and it has cross compilers that works on Linux and Windows, that directly converts high level algorithms into the assembly equivalent for the given CPU / computer.


Developing for multiple platforms requires very little effort because the source does not have to be adapted. With a single source code you can obtain programs for multiple retro computers, even very different from each other. Moreover, each target can have a dedicated optimizer, which allows to achieve very interesting results while leaving the BASIC code fully readable. 

Download

Download NowName your own price

Click download now to get access to the following files:

4GRAVITY! for Amstrad CPC 664 (dsk) 190 kB
4GRAVITY! for ATARI 400/800 (atr) 90 kB
4GRAVITY! for ATARI 400/800 (xex) 20 kB
4GRAVITY! for ATARI XL/XEGS (atr) 90 kB
4GRAVITY! for ATARI XL/XEGS (xex) 20 kB
4GRAVITY! for Commodore 128 (prg) 19 kB
4GRAVITY! for Commodore 128 Z80 (prg) 21 kB
4GRAVITY! for Commodore 128 (d64) 170 kB
4GRAVITY! for Commodore 64 (prg) 49 kB
4GRAVITY! for Commodore VIC-20 (prg) 23 kB
4GRAVITY! for Commodore 64 (d64) 170 kB
4GRAVITY! for Commodore 64+REU (d64) 170 kB
4GRAVITY! for Commodore VIC-20 (d64) 170 kB
4GRAVITY! for Dragon 32 (bin) 14 kB
4GRAVITY! for Dragon 64 (bin) 14 kB
4GRAVITY! for MSX (rom) 32 kB
4GRAVITY! for MSX (dsk) 28 kB
4GRAVITY! for Olivetti Prodest PC128 (k7) 19 kB
4GRAVITY! for TRS-80 Color Computer 1/2 (bin) 14 kB
4GRAVITY! for TRS-80 Color Computer 1/2 (dsk) 157 kB
4GRAVITY! for TRS-80 Color Computer 3 (bin) 17 kB
4GRAVITY! for TRS-80 Color Computer 3 (dsk) 157 kB

Development log

Comments

Log in with itch.io to leave a comment.

Hello, I have a question. You are the author of ugBASIC and ugBASIC is a language(and compiler) for game development for different 8-bit platforms.  I am curious. Will ugBASIC also support 8088 cpu, etc. in the future?  

(1 edit)

Hello, and first of all, thank you very much for the comment! 

Yes, I am the author of ugBASIC. Support for the Intel 8088 processor has been added to the future task list, along with any home computers that have it, which will be the target of the build. For more information and updates you can refer to this page on GitHub.

Thank you again, and have a nice day!

Hello, I see. Thanks for explaining!!