moon-chilled / lrogue2 Goto Github PK
View Code? Open in Web Editor NEWUpdated version of lrogue
License: Other
Updated version of lrogue
License: Other
Expected:
"Top ten highscores" shows more than one entry - 10 total (as long as all the slots are all filled up of course).
Observed:
Only one highscore is shown in 68a4fdf. It's the best one but can't see number two, three, etc.
Steps:
Start the game a few times and quit it with different amounts of gold.
Notice how the score list never grows beyond one entry. (it should instead have all of your best attempts sorted highest to lowest)
I wondered if it would be possible or wise to have all the *.o files and the lrogue2
elf binary created in ./build
or ./bin
by default, which would be then ignored all at once in .gitignore
rather than having those files in the same place as the source code. I find it easier to browse files when those are separate. This is not a big deal or anything but something that came up for me.
Expected:
Save files are not deleted.
Actual:
When you load a savefile by running lrogue2 file
it deletes the file
.
I know that it's how the original behaved but I think after lifting the save check there's not much point in still having this. Save files can be easily backed up and restored. In practice in - my experience - this behaviour is a nuisance rather than something that helps in any way.
Steps:
rogue -s
Years ago I wrote a patch which upon a keypress would show all the possible monsters on the level. Similar to how pressing =
shows you your rings - E
(for "enemies") showed what monsters you could expect on the level. It was a bit more convenient than looking it up. Lost the code since unfortunately. Of course one could just memorise the monsters. While this would change how the game works - it's not changing core gameplay, I think it's still in the same spirit.
m
or M
(for "monsters") could work too but they seem to be already used - not quite sure for what but can look it up.
Let me know if you plan on adding stuff like this - if this is interesting/useful and within scope of the project - or if preferring to keep the game the way it was as long as it runs.
Expected:
lrogue2 -s
or lrogue2 -s lrogue2.scores
prints the highscore list as suggested here.
Observed:
% lrogue2 -s
Segmentation fault (core dumped)
%
% lrogue2 -s ./lrogue2.scores
Segmentation fault (core dumped)
%
Expected:
When you press ?
for help and then Space
or Escape
- the level still looks the same way as before pressing it.
Observed:
Pressing the ?
doesn't redraw the level upon exiting out of the help dialog.
Steps:
?
then Space
I think save-scumming adds replay value because it lets you:
At the same time I get that it's not intended by the original devs. That there is a wizard mode (not quite the same though). That part of the appeal of the game is that each run is different from beginning to the end. That it can make competing for score pointless.
Still - it should probably be up to the player whether they want to "cheat" or not, I think.
I removed these in my working-tree as a quick way to allow for save-scumming:
% git diff -U0
diff --git a/src/save.c b/src/save.c
index 5f1f078..6ce02b1 100644
--- a/src/save.c
+++ b/src/save.c
@@ -127,3 +126,0 @@ void restore(char *fname) {
- if (new_file_id != saved_file_id) {
- clean_up("sorry, saved game is not in the same file");
- }
@@ -161,3 +157,0 @@ void restore(char *fname) {
- if ((!wizard) && !md_df(fname)) {
- clean_up("cannot delete file");
- }
Do you think it's wise to have the save-check removed by default?
Do you plan on adding so called "quality of life improvements" or just wanted to clean up some compiler errors to make sure it runs?
Expected:
When picking up a potion then pressing q
and ?
it should show the potions in the inventory.
Same thing goes for eating, zapping, wearing and throwing.
Observed:
It shows nothing or it shows a list of scrolls instead of potions.
Steps:
Eating:
e
then ?
Quaffing:
q
then ?
Listing scrolls seems to work as expected.
It's activated by pressing CTRL + A
Any idea how it's useful in gameplay?
Tried to figure it out by looking at the source code but not sure I understand it.
Is it a D&D thing?
Hope you don't mind me creating these issues. When I try to build e5de255 I get:
% make
cc -Wno-constant-conversion -DUNIX -std=c99 -g3 -ggdb -Iinclude -c src/machdep.c -o src/machdep.o
src/machdep.c: In function ‘md_gct’:
src/machdep.c:202:18: error: storage size of ‘tzp’ isn’t known
202 | struct timezone tzp;
| ^~~
src/machdep.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-constant-conversion’ may have been intended to silence earlier diagnostics
make: *** [makefile:18: src/machdep.o] Error 1
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.