andreasisnes / pygame-minesweeper-core

Python library containing core mechanics for minesweeper
MIT License
1 stars 0 forks source link

Including flags in game state #2

Open ndon55555 opened 3 years ago

ndon55555 commented 3 years ago

Hi! This library has been super convenient for a friend and I working on a little hobby project. I was wondering if marking tiles to not be opened (flagging) could be included in the game state? We're working on making a multiplayer version that can be played in the browser. We could keep track of what tiles have been flagged ourselves, but I think it would be really nice to have it already built into the game.

I'm thinking such an addition wouldn't break anything that depends on this library either; it should just expose another method or something. Thoughts? Would be happy to submit a PR, too

andreasisnes commented 3 years ago

Hey Don,

I really appriciate your feedback, let me have this weekend to implement the feature :) I’ll send you a message when its been implemented.

Best regards Andreas.

  1. apr. 2021 kl. 19:25 skrev Don @.***>:

 Hi! This library has been super convenient for a friend and I working on a little hobby project. I was wondering if marking tiles to not be opened (flagging) could be included in the game state? We're working on making a multiplayer version that can be played in the browser. We could keep track of what tiles have been flagged ourselves, but I think it would be really nice to have it already built into the game.

I'm thinking such an addition wouldn't break anything that depends on this library either; it should just expose another method or something. Thoughts? Would be happy to submit a PR, too

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.