Skip to content

Tharsanan1/PaandiTamilGameHelper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PaandiTamilGameHelper

To run the program you can use the follwing commands in the terminal.

  1. mvn package
  2. java -jar ./target/PaandiTamilGameMaven-1.0-SNAPSHOT-jar-with-dependencies.jar "{PLAYER_A_VALUES:[7,7,7,7,7,7,7],PLAYER_B_VALUES:[7,7,7,7,7,7,7],PROCESSING_TIME:10,STRATEGY:0}"

Here PLAYER_A_VALUES are your side gems and PLAYER_B_VALUES are your opponent side gems order.

If a hole in the board is closed simply dont add any values.

PROCESSING_TIME : Atmost this amount of seconds the engine will process the possibilities.

STRATEGY : There are two strategy for closing the holes. One is we can close the left most ones or the right most ones. 0 means close the right most one holes. 1 means close the left most holes.

Return value will contain choices of picking the hole in the game to get a specific score.

For example

{

......

"45" : [1,6,3,4,4,2, ......]

......

}

To get 45 gems to your pocket you have to follow this order 1,6,3,4,4,2, ...... of picking the holes whenever you get a chance to pick a hole.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published