/CSE-4110--ai_snail_game

A two-player game created using python where an AI agent can compete with human

Primary LanguagePythonMIT LicenseMIT

A two-player game created using python where an AI agent can compete with human

How to play?!

here are the steps to play the game:

● Python setup. Install python on a computer or download it from any particular website https://www.python.org/downloads/

● Using the IDE, install the arcade library using the pip function. The following code can be used - pip install arcade

● Before playing a game, make sure that you have all images(Snail2, Splash1, Splash2) in a single directory.

● After installing the requirements above, build and compile the following code.

● “Welcome to our Ai-based Snail Game. Press any key to continue” box will appear on the screen. After pressing the key, the game will be open with two snails on two corners. One is human and the other one is an agent.

● By pressing the left key of the mouse on the boxes next to the snail, you can move your snail. If a player clicks on his own splash next to him, He would be moved to the first splash on that route.

AI Winning : image

Draw: image

Human Winning:

image