Commit Graph

  • 4207baceb4 Break functions up into smaller functions to improve readability master filifa 2024-03-19 20:38:20 -0500
  • 2f39ee536b Make play_pressed function more readable filifa 2024-03-19 20:38:20 -0500
  • 0177f0ccbe Rename variables in method to avoid confusion filifa 2024-03-19 20:38:20 -0500
  • 4e7d631e42 Remove call to update_mine_counter() from the main loop filifa 2024-03-19 20:38:20 -0500
  • 067a0d568c Rename function for clarity filifa 2024-03-19 20:38:20 -0500
  • 1029c49c74 Remove old comment filifa 2024-03-19 20:38:20 -0500
  • a4bad93a23 Change the max_mines formula filifa 2024-03-19 20:38:20 -0500
  • c4adddb94b Change names of variables to make lines shorter filifa 2024-03-19 20:38:20 -0500
  • 5815e82160 Remove unused variable self.coords filifa 2024-03-19 20:38:20 -0500
  • 581628b380 Improve the digit padding logic for the mine counter filifa 2024-03-19 20:38:20 -0500
  • e97389fdbf Remove old comment filifa 2024-03-19 20:38:20 -0500
  • 5845156e15 Reduce CPU usage by waiting for event, and make updating the timer an event filifa 2024-03-19 20:38:20 -0500
  • c7c0c1220d Add code to check user input filifa 2024-03-19 20:38:20 -0500
  • 9e333956f1 Fix so play_again_box does not open upon presing option_box's x button filifa 2024-03-19 20:38:20 -0500
  • 8547761458 Add user options to set rows, columns, and mines filifa 2024-03-19 20:38:20 -0500
  • af0ec4a135 Add shebang line filifa 2024-03-19 20:38:20 -0500
  • f00539f64d Simplify the mine_counter and timer methods filifa 2024-03-19 20:38:20 -0500
  • 83411db848 Add pygame.Rect member to Board filifa 2024-03-19 20:38:20 -0500
  • 697779325f Remove old fixme filifa 2024-03-19 20:38:20 -0500
  • a348da8785 Add pygame.Rect member to Square objects filifa 2024-03-19 20:38:20 -0500
  • be52cb854d Add timer filifa 2024-03-19 20:38:20 -0500
  • 0f9e3814f6 Add game_started variable to Board class filifa 2024-03-19 20:38:20 -0500
  • 877ea522a0 Initial commit filifa 2024-03-19 20:38:20 -0500