stardance has been extended another month! the new deadline is october 31 :)

You are browsing as a guest. Sign up (or log in) to start making projects!

7h 51m 12s logged

Poopsweeper Devlog #2

What I’ve done

CSS:

  • Changed class ‘bomb’ to ‘bombflag’
  • Changed the board’s and the cells’ colors

HTML:

  • Replaced the function on the click of the menu buttons
  • Added restartGame function to button in board-header

JS:

  • Added flag, gameOver variable
  • Disabled ContextMenu
  • Cleaned up setDiff function
  • Finished handleFlagCounter, function
  • Added endGame function
  • Added revealColor function
  • Finished revealEmptyCell function
  • Finished and cleaned up revealCell function
  • Added placeFlag function
  • Added mobile check
  • Added restartGame function
  • Cleaned up and finished createBoard function

What is yet to be done

  • Adding a leaderboard
  • Adding the timer
  • Adding a proper winning and losing system
  • Adding CSS for PC
  • Fixing the look of the counters
  • Adding back buttons
  • When clicking a cell that has all of its flags placed, it reveals the neighbours

AI Usage

  • Used it to explain how the whole website should be built up
  • Guiding me with the code, what needs to be added, how it needs to be, what I don’t need, what to improve on
  • No Spoon-feeding (I don’t ask for code from the AI)

Website preview - Please give me feedback

If you are visiting on PC, press Ctrl + Shift + M to switch into responsive mode, allowing you to use the phone version of the website!

0
17

Comments 0

No comments yet. Be the first!