Coder Social home page Coder Social logo

minesweeper's Introduction

Minesweeper

Description

This is a little mineweeper game, homemade by me. This project is currently a work in progress, so expect changes to come.

Site

If you want to play it, it's currently live on this site. Please check it out.

minesweeper's People

Contributors

endymc avatar

Watchers

 avatar

minesweeper's Issues

Width of settings items

Width of settings items is sometimes higher than the width of the container, even though they're supposed to be the same size, minus some padding

Remove the line

Remove the line which occurs on certain screensizes, this is probably the result of some rounding somewhere when setting the location of tiles.
bild

Global Leaderboard

  • Add global leaderboard (The current one is only local)
  • Add some sort of account system so that you can't take someone else's name

Animations

When playing on phone, it's kind of hard to see when a flag has been placed. And if you miss the timing, you ignite the bomb.

  • Placing a flag
  • Deleting a flag
  • Uncovering a tile
  • Uncovering a bomb?

The flag

The image of the flag doesn't scale properly on smaller screen sizes.

Remove diagonals connecting to an empty tile

When clearing a large opening of empty tiles, the program currently only reveals the tiles to the sides, not on the diagonals. Since these have a nil chance to be bombs, we can make it so that these too get revealed.

Leaderboard isn't shown when loading the game for the first time on phone

The leaderboard shows the "Easy" leaderboard, but the section with scores is just blank. The game is also set to "Medium" difficulty even though that isn't reflected in the leaderboard. The title also doesnt seem to know if it's the local or global leaderboard.

It's possible this is just something with the development environment.

No insta-death

When trying to start a new game, there's always a risk that you won't be able to, since the tile you clicked on contains a bomb. A way to get around this issue would be to create the board only after the player clicked on the first tile, and making it so that tile has 0 bombs around it.

Doing it this way would make it so that the player has atleast a chance to start every round.

Weird score submission

Scores which were set in the custom mode somehow made their way to the medium leaderboard
bild

Only on the local leaderboard, though that may be because the global leaderboard was unavailable at the time. The weird thing is that I know that I set more than those two scores, but they aren't on the leaderboard. Also, the scores were set on a different, smaller, size compared to medium

Input issue

If you press the mouse, move to another tile and then release the mouse. No input happens.

UI updates

  • Add a clock for the player to see how long they've taken so far to complete the board.
  • Add a leaderboard, though this would need a outside connection to be able to save. Maybe a local top 10 will have to do for now. A good place to display this leaderboard would be on the game-over menu.
  • Add a way to see how many bombs/mines are left. This could be a huge help if you have an ending where it isn't clear which tiles are mines.
  • Change the color of the clock based on if you're faster than your top x scores. Faster than 1st will net a golden clock, faster than 2nd will change the color to silver, and so on.

Custom difficulty

The custom difficulty isn't able to be set from within the application. Add this to the settings menu and a way for the player so see the dimensions of the board / the amount of bombs.

Time

When starting a new game, the clock doesn't get reset until the first tile is clicked

Accessibility Settings

Make it possible to change font-size, alternatives should be: small, normal, big. (20%, 25%, 30% of height). Maybe also extra large, which would be 50% of the height.

Flags

If you place flags before clicking on any tile, the flags are removed but the countrr isn't updated to reflect that

Settings

The settings menu now has the functionality to do what it's created for, the next step is to style the menu so that it looks presentable and modern.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.