Skip to content

CaffeLatteIV/connectX-algoritmi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CXGame

Bot that plays Connect X better than a human. Algoritmi project, Unibo.

Commands

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

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

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

CXPlayerTester application:

  • Output score only:

      java -cp ".." connectx.CXPlayerTester 6 7 4 connectx.L1.L1 connectx.BabbiniLibra.BabbiniLibra
    
  • Verbose output

      java -cp ".." connectx.CXPlayerTester 6 7 4 connectx.L1.L1 connectx.BabbiniLibra.BabbiniLibra -v
    
  • Verbose output and customized timeout (1 sec) and number of game repetitions (10 rounds)

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages