Advertisement
c0d3dsk1lls

statics CodedSkills.net

Aug 7th, 2022 (edited)
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 6.60 KB | None | 0 0
  1. ##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++##
  2. ##=======================================================================================================================================================================================##
  3. ##----------------------CODEDSKILLS.NET--------------------------------------------------------------------------------------------------------------------------------------------------##
  4. #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  5. import pygame as pg    #
  6. #----------------------#
  7. #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  8. #--SIZE OF BOARD -------#----------------------------------------+--------------------------+
  9. width, height = 700, 700#
  10. rows, cols = 8, 8 #-=-------#
  11. sq_size = width // cols     #
  12. #---------------------------#
  13. #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  14. #--BOARD COLOURS -------#----------------------+------------------------------+-----------------------------------------------+
  15. yellow = (255, 255, 0)  #
  16. white = (255, 255, 255) #
  17. green = (0, 255, 0) #---#
  18. gray = (128, 128, 128)  #
  19. red = (255, 0, 0)#------#
  20. blue = ("blue")  #
  21. #----------------#
  22. #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  23. #---COLOURS FOR NEXT MOVE --------------------------------------------------#--------------------+---------------------------------------------+----------------------+
  24. black = (0, 0, 0) #---------------------------------------------------------#
  25. crown = pg.transform.scale(pg.image.load("assets/crown.png"), (45, 25))     #
  26. #---------------------------------------------------------------------------#
  27. ##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++##
  28. ##=================================================================================================================================================##
  29. ##-------------------------------------------------------------------------------------------------------------------------------------------------##
  30. ##                                                                                                                                                 ##
  31. ##                                                                                        ##   //                                                  ##
  32. ##----+-#########\   ########  -+#######\\-- +##########   #######\\        /#######\\    ##  //     ######---+-##      ##       /#######\\        ##
  33. ##      ##-          ##|--|##    ##-     ##   ##           ##-     ##      ||-----        ## //        ##       ##----+-##      ||-----         +--##
  34. ##      ##           ##|  |##  -+##    +--##  #######      ##       ##  -- \\#######\\    ## \\        ##       ##      ##------\\#######\\-------+##
  35. ##      ##-        +-##|--|##    ##-     ##   ##           ##-     ##         ------||    ##  \\       ##       ##      ##         ------||--------##
  36. ##      #########/   ########  -#######//-  -+##########   #######//       \\######//     ##   \\    ######---+-#####   #####   \\######//------+--##
  37. ##                                                                                                                                                 ##
  38. ##                                                          https://CodedSkills.net                                                                ##
  39. ##-------------------------------------------------------------------------------------------------------------------------------------------------##
  40. ##=================================================================================================================================================##
  41. ##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++##
  42.  
  43.  
  44. ##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++##
  45. ##=======================================================================================================================================================================================##
  46. ##---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------##
  47. ##                                                                                                                                                                                       ##
  48. ##           ###       #######\    #######\       #######       ########     ##  ##     ########     ########       #######     ########       ####        ##         /#######\\         ##
  49. ##          #-##            //          //        \   //    =      ##        ##  ##        ##        ##|--|##       ##  //         ##         //  \\       ##        ||-                 ##
  50. ##            ##          ##\\        ##\\           //            ##        ##  ##        ##        ##|  |##       ###\\          ##        //====\\      ##        \\#######\\         ##
  51. ##            ##            //          //          //             ##        ##  ##        ##        ##|--|##       ##  \\         ##       //      \\     ##                 ||         ##
  52. ##       ##########   ########--  ########--       //       =      ##         ####         ##        ########       ##   \\     ########   //        \\    #######   \\######//          ##
  53. ##                                                                                                                                                                                       ##
  54. ##                                                                         https://1337tutorials.net                                                                                     ##
  55. ##---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------##
  56. ##=======================================================================================================================================================================================##
  57. ##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++##
  58.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement