mirror of
https://github.com/abakh/nbsdgames.git
synced 2025-01-03 14:56:23 -05:00
redsquare
This commit is contained in:
parent
706dfd8d86
commit
b7788582d4
@ -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
|
||||
|
@ -1 +0,0 @@
|
||||
user@laptop.7227:1577913591
|
BIN
sources/.goutputstream-AJM9K0
Normal file
BIN
sources/.goutputstream-AJM9K0
Normal file
Binary file not shown.
BIN
sources/.goutputstream-OX8YK0
Normal file
BIN
sources/.goutputstream-OX8YK0
Normal file
Binary file not shown.
BIN
sources/.goutputstream-R7WXK0
Normal file
BIN
sources/.goutputstream-R7WXK0
Normal file
Binary file not shown.
BIN
sources/.goutputstream-T6D8K0
Normal file
BIN
sources/.goutputstream-T6D8K0
Normal file
Binary file not shown.
BIN
sources/.goutputstream-VOM2K0
Normal file
BIN
sources/.goutputstream-VOM2K0
Normal file
Binary file not shown.
Binary file not shown.
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user