Skip to content

Simple C++ game with artificial intelligence algorithm.

Notifications You must be signed in to change notification settings

ashwin9798/Rat-Invasion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Rat-Invasion

Simple C++ game, where the user must avoid getting bitten by rats in an arena of modifiable size. The player can drop poison pellets, to reduce each rat's health.

AI algorithm

The function recommendMove is an AI player that wins the game over 90% of the time by looking at the health of each rat, and the advantages of moving to a certain position.

About

Simple C++ game with artificial intelligence algorithm.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages