Giter Club home page Giter Club logo

connect-4's Introduction

To Play a GUI based version of the Game:

1 - Using command prompt, open the directory "PlayGame"
2 - compile all the files using the command "javac *.java"
3 - Run the game from the command prompt by using the command "java Connect4GUI"



To play a text based version of the Game:

1 - Using command prompt open the directory "PlayGame"
2 - compile all the files using the command "javac *.java"
3 - Run the game from the command prompt by using the command "java Game"



To run automated JUnit test on the classes:

1 - Using command prompt open the directory "Tests"
2 - compile all the files using the command "javac -cp .:junit-4.12.jar:hamcrest-core-1.3.jar *.java"
3 - run the tests by using the command "java -cp .:junit-4.12.jar:hamcrest-core-1.3.jar org.junit.runner.JUnitCore Connect4Test"



To test the game without automation:

1 - Using command prompt, open the directory "PlayGame"
2 - compile all the files using the command "javac *.java"
3 - Run the game from the command prompt by using the command "java "
4 - Play the game, press each button to ensure that it preforms the necessary tasks.
5 - using either 2 human players or an easy computer, test extreme conditions such as full column or full board.
6 - Test the hint button by using 2 human players and setting up scenarios which should have obvious outcomes (ex: can win, should block etc.)


Notes about Application:
1 - Highscore measures how many games in a row you have won against a computer, it doesn't show up when playing against a human.

connect-4's People

Watchers

James Cloos avatar  avatar

Forkers

humblechaudhry

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.