Sponsorship

Ludo game using ' Python '




AI Ludo game by " ROHITH "



[ Built with " PYTHON " ] , [ IDE used " PYCHARM " ]


    Ludo is a strategy board game for two to four players , in which the players race their four tokens from start to finish according to the rolls rolls of a single die . Like other cross and circle games , ludo is derived from game Pachisi . The game and it's variations are popular in many countries and under various names .








    Special areas of the ludo board are typically coloured bright  yellow , green , red  and  blue . Each player is assigned a colour and has four tokens in their colour . The board is normally square with a cross having three columns usually have five squares coloured ,these represent a player's home column , A sixth coloured square not on home column is a player's starting square . At the center of the board is a large finishing square  , often composed of coloured triangles stop the player's home columns ( thus depicting " arrows " pointing to the finish ) .



    Two , three or four can play without partnerships . At the beginning of the game ,  each payer's four tokens are out of play and staged in the player's and ( one of the large corner areas of the board in the player's colour ) . When able to , the players enters theirs tokens one per turn on their respective starting squares and proceed to race them clockwise around the board along the game track ( the path of squares not part of any player's home column ).



This is the AI Ludo project developed on python program , As this is an AI based project you can also play with computer .



This ludo game contains two sections :


    Images ( contains dice images and ludo iconbitmap for window size and length functionality with respective of it's dimensions )



    AI Ludo program by python designed by Apple Incorporation Estd 2017 .



Python program images are posted below for ludo game


  • Code of the program : 


[ It doesn't require pygame module , Tkinter module is used ]







 



















[  As you can see in the above image  , Ludo game can be played between two to four players as I selected for three players . Click on submit to play the game  ]







[  As you can see in the above image , I selected to play with computer as  this is done with AI algorithm which is in the code , Therefore it is a two player game . ] 







[  This is the overall look of the game , here all the four dices are predicted according to their give matrix algorithm by which it randomly chooses a matrix function for all priority four dices ( if played by four members ) and give an output of the dice from number ranging from 1 to 6 .  ]



    Therefore this the program for developing AI Ludo game by python , I'll be providing the source code in the GitHub very soon , GitHub link is provided down below , do check it out .




If you have any issues with the program , just comment me to this post -[ I will be giving reply within 12hrs ].



[ Note : If you are not following on my linkedIn , Check my LinkedIn profile which is provided in Other links section ]










=====  GitHub Link :  =====

Source Code :

( clickable link )




====  FOR MORE INFO : ====

Email :

( clickable link )


















THANK YOU  !

1 comment:

  1. Nice project , I'm too creating one of them .. thank you for providing source code .

    ReplyDelete

Translate

Android App