Skip to content

PocketNugget/Connect-4-JavaSwing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

A Simple Connect 4 game on Java Swing

A simple connect 4 game intended to put on practice our habilities to understand the basics of OOP in java, Our game stays true to the original rules, but we spiced things up during development. Instead of tokens, we went for a cool color change on the squares. It's simple, effective, and adds a fun twist to the gameplay.

Prerequisites

Requirements for the software and other tools to build, test and push

Installing and executing

Clone this repo to the directory of your choice

git clone https://github.com/PocketNugget/Connect-4-JavaFX.git

Compile the main file

javac Main.java

Run the main file

java main

Rules

-2 players

-7x6 squares board

-For each turn, a player places a piece of his color on the board. Wherever the checker is placed, it falls to the first available square.

-The winner is the player who manages to place 4 pieces horizontally, vertically or diagonally.

-If no player manages to place all 4 pieces on the board, the game ends in a draw.

Built With

Authors

License

This project is licensed under the CC0 1.0 Universal Creative Commons License - see the LICENSE.md file for details

Acknowledgments

  • Juan Manuel Gonzalez Calleros (our teacher)
  • Jose Luis Zechinelli Martini

About

A Simple Connect 4 Game in Swing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages