summaryrefslogtreecommitdiff
path: root/ncsweeper.c
AgeCommit message (Collapse)AuthorFilesLines
2020-06-15fixed segfault on widt and height differingHEADmasterDaniel Jones1-3/+3
2020-04-27prevent exiting right away after watching demo if acicdentally hit a keyDaniel Jones1-0/+1
2020-04-27prevent flashing in demo playbackDaniel Jones1-1/+5
2020-04-27support playing demos with different height/widthsDaniel Jones1-4/+6
previously it would crahs if you attempted to play a demo using a different width/height to the one in the compiled binary
2020-04-26-play demoDaniel Jones1-29/+174
added ability to play demos using -play <demofile>. currently it breaks if the width and heights differ
2020-04-26demo recordingDaniel Jones1-48/+284
added ability to record demos using -record <demo name>. coming soon is -play <demoname>
2020-04-26board is now a 1d array mapped as 2dDaniel Jones1-31/+41
also use game struct instead of macros
2020-04-25dont allow revealing flagged tileDaniel Jones1-2/+3
2020-04-25redraw when toggling flagDaniel Jones1-0/+1
2020-04-25changed default height, width and minesDaniel Jones1-3/+3
2020-04-25added ncurses minesweeper, changed readme and makefileDaniel Jones1-0/+314