Skip to content

sheshnath08/Lines-Of-Actions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AI-Project : Lines of Actions 5X5 version

Lines of Actions is a two player board game and developed as a part of course project CS-GY 6613.

Game Rules

• The first player to bring all of his/her checkers together into an 8-connected contiguous body wins. If a player has only one checker left, he/she also wins.
• Black player moves first and the 2 players alternate moves.
• Checkers can move horizontally, vertically, or diagonally.
• A checker moves exactly as many spaces as there are checkers (both friendly and enemy) on the line in which it is moving.
• A checker may jump over friendly checkers, but not over enemy checkers.
• A checker may capture an enemy checker by landing on the current position of the enemy checker.
• If after a capturing move, both players have their pieces in a contiguous body, then the player who makes the move wins.

How to Run:

You can compile classes in package View and AI under LinesofAction/src/ dir through terminal/command prompt using following command:
o javac View/*.java
o javac AI/*.java
After compilation, run Controller from package AI using following command:
o java AI/Controller

About

Intelligent Agent for LinesOfActions Game.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages