Skip to content

The dice game Pig with AI opponent. Written in Python3+PyGame.

License

Notifications You must be signed in to change notification settings

Ananya-0306/Ludo_ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ludo game

Pig - a simple dice game --------------------- Pig is a game played with one dice, luck-based and strategy-based (a little).

Run

pip3 install pygame
python3 main.py

Rules

Here you play against an AI-bot. Your turn is first (love to user :) ).
Your goal is to gain 100 points faster than bot.
To gain points, you should roll the dice with corresponding button.
You can roll several times, then your turn score gets higher.
To save gained score, press Hold. In case of one at the dice, your score for a turn gets equal to zero, and turn goes to bot.

Good luck!

About

The dice game Pig with AI opponent. Written in Python3+PyGame.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages