diff --git a/README.md b/README.md index eea0ab9..0914234 100644 --- a/README.md +++ b/README.md @@ -27,12 +27,13 @@ These include: * Fisher * Muncher * Miketron -* Redsquare +* Redsquare (Conway's Game of Life made playable!) They natively run on Linux, BSD, MacOS and are known to work on Windows as well (using PDCurses, thanks to Laura Michaels for providing advice). The difficulty and/or dimensions are adjustable through simple command line options, you can play a minesweeper game that take hours to complete, or exprience hexadecimal sudoku and 8x8 fifteen-like puzzles! +I have encounterd Fisher, Muncher and Miketron on MikeOS and RedSquare on KolibriOS. ## Prerequisites * git (optional) @@ -71,7 +72,7 @@ It's been made available for openSUSE thanks to Jan Brezina: https://build.opens ## How to contribute * Share these with your friends * Tell me your feature requests, bug reports, etc. -* Tell me the games you want to be added (in the same genre, i can't port Angry Birds to curses! :) +* Tell me the games you want to be added (but in the same genre, i can't port Angry Birds to curses! :) * Make a package for your distro (or put it on repos if it's not there) - -Also thank to all the people who helped in the previous versions, i didn't expect such assistance <3 +* Does anyone understand debian's .orig.tar.gz and the process to make packages to the repos? Any help would be appreciated. +Also thank to all the people who helped in the previous versions, i didn't expect such an amount of assistance <3 diff --git a/sources/.#mines.c b/sources/.#mines.c deleted file mode 120000 index 0428973..0000000 --- a/sources/.#mines.c +++ /dev/null @@ -1 +0,0 @@ -user@laptop.7227:1577913591 \ No newline at end of file diff --git a/sources/.goutputstream-AJM9K0 b/sources/.goutputstream-AJM9K0 new file mode 100644 index 0000000..943e932 Binary files /dev/null and b/sources/.goutputstream-AJM9K0 differ diff --git a/sources/.goutputstream-OX8YK0 b/sources/.goutputstream-OX8YK0 new file mode 100644 index 0000000..b86e3e5 Binary files /dev/null and b/sources/.goutputstream-OX8YK0 differ diff --git a/sources/.goutputstream-R7WXK0 b/sources/.goutputstream-R7WXK0 new file mode 100644 index 0000000..eaf799c Binary files /dev/null and b/sources/.goutputstream-R7WXK0 differ diff --git a/sources/.goutputstream-T6D8K0 b/sources/.goutputstream-T6D8K0 new file mode 100644 index 0000000..2c03132 Binary files /dev/null and b/sources/.goutputstream-T6D8K0 differ diff --git a/sources/.goutputstream-VOM2K0 b/sources/.goutputstream-VOM2K0 new file mode 100644 index 0000000..73289f7 Binary files /dev/null and b/sources/.goutputstream-VOM2K0 differ diff --git a/sources/.jewels.c.swp b/sources/.jewels.c.swp deleted file mode 100644 index ba71b0c..0000000 Binary files a/sources/.jewels.c.swp and /dev/null differ diff --git a/sources/redsquare.c b/sources/redsquare.c index 766e87b..6a55a92 100644 --- a/sources/redsquare.c +++ b/sources/redsquare.c @@ -468,6 +468,8 @@ int main(void){ int prey,prex; int cinred; Start: + curs_set(0); + halfdelay(9); cinred=0; py=LEN*3/4; px=WID/2; @@ -575,12 +577,31 @@ int main(void){ DidntMove: if( input=='q') sigint_handler(0); + if( input=='p'){ + nocbreak(); + cbreak(); + erase(); + logo(); + attron(A_BOLD); + addstr("\n PAUSED"); + attroff(A_BOLD); + refresh(); + + getch(); + + halfdelay(9); + } + } printw("Wanna play again?(y/n)"); + nocbreak(); + cbreak(); curs_set(1); flushinp(); + input=getch(); + if(input != 'N' && input != 'n' && input != 'q') goto Start; endwin();