nielssp / csol Goto Github PK
View Code? Open in Web Editor NEWA small collection of solitaire/patience games (Klondike, FreeCell, Spider, Yukon, etc.) to play in the terminal
Home Page: https://nielssp.dk/csol/
License: MIT License
A small collection of solitaire/patience games (Klondike, FreeCell, Spider, Yukon, etc.) to play in the terminal
Home Page: https://nielssp.dk/csol/
License: MIT License
In the way I learned to play Klondike, the player was able to have as many re-deals as they wanted. (I believe this goes for Microsoft Solitaire as well.) Perhaps there could be an option to choose the amount of re-deals allowed in a game?
When the player presses Q, this prompt appears:
The player can then make a selection with Y or N as shown in the prompt, but I've also noticed that you can press Enter to continue the game. Generally the capitalized letter in a terminal prompt means it's the default.
Consider changing the prompt to Quit? (y/N)
(with a lowercase "y") to hint to the user that the the default option will be to continue the game, and can also be triggered by pressing Enter.
Here's the fix for this:
--- ui.c.orig 2020-07-04 11:49:45.000000000 +0200
+++ ui.c 2021-05-07 08:17:26.000000000 +0200
@@ -419,6 +419,7 @@
}
}
}
+ nodelay(stdscr, 0);
while (1) {
switch (getch()) {
case 'r':
Note: See here for files used to recreate the bug.
If a configuration file uses the include
command, any following include
,
game_dir
and theme_dir
commands will be relative to that file, not the one executing them.
> csol -c conf1
Using configuration file: conf1
Warning: file "example" not found, searching all theme files
theme not found: 'example'
I believe this is caused by cwd
of execute_file
in rc.c
being overridden when
the function is called recursively.
This may be caused by dirname
not returning unique pointers every time or just some c jank.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.