Giter Site home page Giter Site logo

cmdline-minesweeper's People

Contributors

acl9213 avatar brainuser5705 avatar

Watchers

 avatar

cmdline-minesweeper's Issues

gameover enum

rather than having the game over checks be private methods in the Minesweeper Game, i think it's better if they are in their own enum classes

timer

Since it's on the command line, the only probable place to put a time is at the end of the game.

code cleanup

the code is really messy and probably needs some refactoring because of that

improved commands

  • more "forgiving" regex (e.g. formatting allowed)
  • allow for multiple commands in one input
  • game over mode command

Change program design

research more on abstract classes and other principles, then modify the code as necessary

expert mode bug - commands won't parse

After the first command, it renders all other commands as invalid when it should not
this is also the case for the intermediate mode
the beginner's mode is the only one that works

color

  • be able to print color on the Windows command line
  • color on Mac terminal
  • dynamic coloring: shows last move, at end of game, shows you wrongly placed blocks, etc.
  • custom/built-in color scheme settings command

custom error messages

  • invalid command (no command is found)
  • wrong parameter input
  • illegal or impossible move: i.e. placing flag on revealed, unflagging blank space, etc.

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.