Jump to content

Recommended Posts

Posted (edited)

Hello guys, what do you think about it ? ~~

Challenge complete :)
Sadly it doesnt think when he cant make obvious move, so i have to think myself few times :D

 

Edited by Szakalaka
Posted (edited)

Yes it is simple C :)

The mineweeper is not complex internally, the only important things are 3 tables with revealed fields, mine fields and flag fields. Rest is just loopin through the revealed ones, if number is equal to surrounding unrevealed mines + flagged then flag surrounding fields, if flagged = number of the field then reveal fields, and thats basically it :)

Edited by Szakalaka

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..