Skip to content

a740g/FourUp

Repository files navigation

FOUR UP

Four Up (also known as Connect 4, Connect Four, Plot Four, Find Four, Captain's Mistress, Four in a Row, Drop Four, and Gravitrips in the Soviet Union) is a two-player strategy game played on a 7-column by 6-row board. Each player has a color and drops successively a disc of his color in one column, the disc falls down to the lowest empty cell of the column. The first player to make an alignment of four discs of his color wins, if the board is filled without alignment it’s a draw game.

Screenshot

The source code has hopped several developer tools and operating systems. From the good old 16-bit MS-DOS to 64-bit Windows, Linux & macOS.

The Visual Basic .Net sources can be found here.

FEATURES

  • Works natively on Windows, Linux & macOS
  • Uses InFrom-PE GUI engine for QB64-PE

USAGE

  • Clone the repository to a directory of your choice
  • Open Terminal and change to the directory using an appropriate OS command
  • Run git submodule update --init --recursive to initialize, fetch and checkout git submodules
  • Open FourUp.bas in the QB64-PE IDE and press F5 to compile and run

NOTES

This requires the latest version of QB64-PE. QB64, or other forks of QB64 will not work!