Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.
/ ForzaForza Public archive

a connect-four game engine written for algorithm and data strucutures course of university of Bologna

License

Notifications You must be signed in to change notification settings

fabiomurer/ForzaForza

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ForzaForza

a ConnectX player, course of Algorithm and data structure, university of Bologna

setup

  • extract CXGame10.tgz
  • copy ForzaForza folder in CXGame1.0/connectx

compile & run (CXGame1.0/connectx/README)

  • Command-line compile. In the connectx/ directory run::

      javac -cp ".." *.java */*.java
    

CXGame application:

  • Human vs Computer. In the connectx/ directory run:

      java -cp ".." connectx.CXGame 6 7 4 connectx.L0.L0
    
  • Computer vs Computer. In the connectx/ directory run:

      java -cp ".." connectx.CXGame 6 7 4 connectx.L0.L0 connectx.L1.L1
    

CXPlayerTester application:

  • Output score only:

    java -cp ".." connectx.CXPlayerTester 6 7 4 connectx.L0.L0 connectx.L1.L1

  • Verbose output

    java -cp ".." connectx.CXPlayerTester 6 7 4 connectx.L0.L0 connectx.L1.L1 -v

  • Verbose output and customized timeout (1 sec) and number of game repetitions (10 rounds)

    java -cp ".." connectx.CXPlayerTester 6 7 4 connectx.L0.L0 connectx.L1.L1 -v -t 1 -r 10

About

a connect-four game engine written for algorithm and data strucutures course of university of Bologna

Topics

Resources

License

Stars

Watchers

Forks

Languages