Skip to content

My new game: "CMinesweeperD" is a classic terminal roguelike. Become a rogue and uncover all the traps!

License

Notifications You must be signed in to change notification settings

Touff-97/CMinesweeperD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

My new game: "CMinesweeperD" is a classic terminal roguelike. Become a rogue and uncover all the traps! Features include:

  • Infinite procedurally generated dungeon
  • Exploration powered by wave function collapse
  • An ability system to uncover and/or flag tiles
  • Perma-death
  • No meta progression
  • Configurable dungeon size and traps number
  • Completely done in ASCII
  • Colors for legibility

The idea for this project will be to make a Minesweeper in the terminal.

The game will behave like this:

  • The board will be a square of x by y size:

    -- A-B-C-D-E- F- G- H- I
    1 [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ]
    2 [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ]
    3 [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ]
    4 [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ]
    5 [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ]
    6 [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ]
    7 [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ]
    8 [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ]
    9 [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ]

  • There will be a counter for the bombs at the top of the board, signaling the amount of bombs left to flag

  • There will be 5 states for each tile:

    1. Undiscovered: the tile is blank and can be clicked
    2. Blank: the tile is discovered but remains blank
    3. Bomb: the tile is discovered and has a bomb
    4. Flagged: the tile is undiscovered and is flagged as a bomb, the bomb counter is reduced by one
    5. Number: the tile is discovered and displays the number of bombs it's adjacent to
  • The player will be able to discover a tile by typing the command 'DXY', where X is the column and Y is the row

  • The player will be able to flag a tile by typing the command 'FXY', where X is the column and Y is the row

  • When a tile is discovered and is blank, it'll forcefully discover any adjacent tiles which are also blank

  • When a tile is discovered and is a bomb, it'll forcefully explode every other bomb and the game will be over

  • When every bomb is flagged, the player wins


Update plan:

  • Add a dungeon class that will generate a floor plan. Each room is a minesweeper board

  • Boards now have a border of walls where doors are placed

  • Once you clear a room, all available doors will open and you'll be able to advance to any other room

  • Possibly add enemies and combat later

About

My new game: "CMinesweeperD" is a classic terminal roguelike. Become a rogue and uncover all the traps!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages