Skip to content

adityarverma/Trifit-2-player-game-using-AI

Repository files navigation

# Trifit (Try-Fit)

Turn based Android game between user and computer on a grid board using Artificial Intelligence.

### How to Play:

* 
You will have initially 8 stones to place on board (one in each turn).

* Once you are out of stones in hand then you can move your placed stones to adjacent positions.

* Your strategy should be to form triplet as well as block computer to do the same.

* On forming a triplet, you will get chance to eat computer's stone but you can't eat a stone which is a part of triplet.

* If you formed a triplet but all the stones of computer are locked i.e. part of some triplet then your health will increase.

* Eating computer's stone will decrease its health and at the same time you get more opportunities to form triplet.

* All the above rules equally applies to computer.
* Player which make opponent player run out of stones win.

### Installation:- 
download and unzip Trifit.zip file. 
Open in android studio.

Project developed for artificial intelligence course during Btech in computer engineering.

For query/issues contact or open github issue: smartadiarv@gmail.com