/c4d-minesweepr

Cinema 4D Games - Minesweeper

Primary LanguagePython

Games4Cinema - Minesweeper

Cinema 4D Python Script

Play Minesweeper on Cinema 4D

Please visit: https://safina3d.blogspot.com

Minesweeper Default Minesweeper Game Over

Installation:

  • Clone the project or download the zip file and extract it into the Maxon scripts directory.

    • Windows: C:\Program Files\MAXON\CINEMA 4D R18\library\scripts\
    • MacOS: /Applications/MAXON/CINEMA 4D R1/library/scripts/
  • Restart Cinema 4D

Go to Cinema 4D Menu:

  • Script >> User scripts >> minesweeper >> minesweeper

You can change the size of the grid and difficulty by changing the values passed to the MinesweeperGui object. The args are: Rows, Columns, Difficulty[EASY|Medium|Difficult]

if __name__ == '__main__':
    dlg = MinesweeperGui(15, 10, Level.EASY)
    dlg.Open(dlgtype=c4d.DLG_TYPE_ASYNC)