Git Product home page Git Product logo

freecodecamp / learntocoderpg Goto Github PK

View Code? Open in Web Editor NEW
1.0K 29.0 104.0 463.58 MB

A visual novel video game where you learn to code and get a dev job 🎯

Home Page: https://www.freecodecamp.org/news/learn-to-code-rpg-1-5-update/

License: BSD 3-Clause "New" or "Revised" License

Ren'Py 82.70% CSS 0.65% JavaScript 0.04% HTML 8.51% Python 8.08% Shell 0.02%
renpy renpy-visual-novels renpy-game visual-novel learn-to-code game video-game

learntocoderpg's Introduction

Learn to Code RPG v1.5

Learn to Code RPG is a visual novel game developed by freeCodeCamp.org. In this game, you will teach yourself to code, make friends in the tech industry, and pursue your dream working a developer 🎯

The game features:

  • Hours of gameplay 🎮
  • Original art and music 🎨
  • 1,000+ Computer Science quiz questions 📚
  • 50+ achievements you can unlock 🏆
  • 6 different endings 👀
  • 10+ characters you can make friends with, and an adorable cat 🐱
  • Minigames 👾
  • A renown system, a money system, and fun items you can buy for your cat and to customize your room 🏠
Available on itch.io
Learn to Code RPG v1.5 Splash Image
Learn to Code RPG v1 Splash Image

This game was made possible by all the kind people who donate to support freeCodeCamp.org. You can help support our nonprofit's mission here.

This project is open source and is currently in beta. If you notice any bugs or have suggestions about accessibility, the interface, the story, or anything at all, please report them by opening GitHub issues.

If you are enjoying this game, please rate and review us on itch.io.

If you are interested in how we made this game, check out this article.

Credits

Creative Leads Lynn Zheng
KayLa Thomas
Nielda Karla
Coding Lynn Zheng
Writing Lynn Zheng
KayLa Thomas
Music Quincy Larson
Character Art Layerto (Noa Trinh)
Other Graphics Lynn Zheng
Nielda Karla
Quiz Questions & Proofreading Abbey Rennemeyer
Kris Koishigawa
Oliver Eyton-Williams
Estefania Cassingena Navone
Jessica Wilkins
Dionysia Lemonaki
Playtesting Ilenia Magoni
Estefania Cassingena Navone
Naomi Carrigan
Yoko Matsuda
Daniel Rosa
Beau Carnes

How to report bugs

Found a bug while playing?

Read through this helpful article on how to report bugs.

Then, report them by opening a GitHub Issue.

How to contribute

This open source project is a work in progress and ever evolving. We will publish major expansions to this game in the coming months, including new music and characters.

We welcome all contributions, suggestions and ideas for improvement from the community.

You can contribute by adding new quiz questions to developerquiz.org, catching typos, and helping to translate this game into other languages.

If you are willing to dive deep and execute the game code, check out Ren'Py, the game engine we use to develop this game. Make sure you have the latest Ren'Py version (Ren'Py 8 as of December 2022) as we always keep our code up-to-date with the newest Ren'Py version.

Make sure to first read through the Code of Conduct.

Then, see the ways you can contribute here.

License

Copyright © 2021 freeCodeCamp.org, All rights reserved.

learntocoderpg's People

Contributors

a2937 avatar abbeyrenn avatar brajpatel avatar ckvignesh avatar googlebleh avatar ilenia-magoni avatar kagusev avatar ljn7 avatar naomi-lgbt avatar neverendingqs avatar nirajn2311 avatar ojeytonwilliams avatar quincylarson avatar raisedadead avatar ruolinzheng08 avatar scissorsneedfoodtoo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

learntocoderpg's Issues

error: GLX is not supported

What bug did you encounter?

I tested it for the first time today. It runs on Windows 10 but not on Linux Ubuntu 20.04.3 LTS. It stops immediately and displays the following error message:
error: GLX is not supported

Steps to Reproduce

In Ubuntu terminal "chmod + x LearnToCodeRPG.sh" and then run "bash LearnToCodeRPG.sh"

Screenshots

No response

Additional Information

No response

Exception when trying to play video games

What bug did you encounter?

I have encountered an exception screen when trying to play some video games.

Steps to Reproduce

  1. Take a day off and relax
  2. Play some video games
  3. Click on a song to play (any)

Music starts to play but there is a screen with message: "An exception has occurred"

To return back to game:

  1. Ignore (multiple times)
  2. Exit at the bottom of the list of songs

Screenshots

Screenshot 2022-01-10 at 9 17 34 pm

Additional Information

No response

An ability to see the correct answer after it was pushed into a quiz.

What feature would you like to suggest?

Some times user answer question with some uncertainty and if he/she guessed it right the score goes up but user cannot have another look at the selected answer. It would be great if user could see posted answers. Like click on category in the table and see question/given answer pairs

Additional Information

No response

Check for update in the app

What feature would you like to suggest?

Provide a way to automatically check for updates and prompt the players to download the updated app from itch.

Additional Information

No response

Spanish translation - I offer to do it

What feature would you like to suggest?

I am playing the game. I think it's an excelent idea.

I propose a spanish translation. I offer to do it.

The code is prepared for multilanguage? If not... maybe I can create a branch.

Additional Information

No response

Starting a game with a different name overwrite other name in saves

What bug did you encounter?

I just started a new game to try to see it wasn't just my impression. I choose the name Robert, then loaded a different save where the name should have been Lydia, and the name was Robert...

Steps to Reproduce

Have at least a save.
Start a new game. When prompted choose a name different from previous saves.
Now, load a save that should use a different player name. Notice that the name in that save has changed.

Screenshots

No response

Additional Information

No response

How to create a DLC

What feature would you like to suggest?

Let say I want to create a DLC for cloud. Things that will need to be added (or replaced):

Is there DLC system in the works right now?

Additional Information

No response

game crash when discussing hackathon with Annika (on August 4)

What bug did you encounter?

[code]
I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/script.rpy", line 817, in script call
call ask_hackathon from _call_ask_hackathon
File "game/scripts/labels/npc_question_and_answer.rpy", line 51, in script
$ topics_to_ask.remove('Hackathon')
File "game/scripts/labels/npc_question_and_answer.rpy", line 51, in
$ topics_to_ask.remove('Hackathon')
KeyError: u'Hackathon'

-- Full Traceback ------------------------------------------------------------

Full traceback:
File "game/script.rpy", line 817, in script call
call ask_hackathon from _call_ask_hackathon
File "game/scripts/labels/npc_question_and_answer.rpy", line 51, in script
$ topics_to_ask.remove('Hackathon')
File "/Users/lambert_pierre/Desktop/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/ast.py", line 923, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "/Users/lambert_pierre/Desktop/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/python.py", line 2235, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/scripts/labels/npc_question_and_answer.rpy", line 51, in
$ topics_to_ask.remove('Hackathon')
File "/Users/lambert_pierre/Desktop/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/python.py", line 875, in do_mutation
return method(self, *args, **kwargs)
KeyError: u'Hackathon'

Darwin-19.6.0-x86_64-i386-64bit
Ren'Py 7.4.8.1895
Learn to Code RPG 1.0
Sun Dec 26 23:12:25 2021
[/code]

Steps to Reproduce

on the 4th of August, ask Annika about Hackathon to eventually have the game crashing at some point in the discussion. Unfortunately, it appears you can't really avoid it as the "That's everything I need to know" option is not clickable.

Screenshots

No response

Additional Information

No response

Typo Fix

What bug did you encounter?

There is a typo in the word "interview" here:
image

Please correct it in the article, too.
Uploading image.png…

Steps to Reproduce

Fixed the typo after forking the repo

Screenshots

nil

Additional Information

nil

Learn more about a quiz question topic even if clicked the correct answer

What feature would you like to suggest?

Right now, the only way to learn more background on a quiz question topic is to answer it wrong!

The quiz feature is awesome for learning CS fundamentals, to make this tool even more helpful for beginners like me who often guess get it correct, but still want to access the "learn more" link to get more complete understanding of the question topic without having to click 'back' and intentionally answer questions wrong to be able to read up to get more understanding from the topic link. Cheers thanks!

Additional Information

Other users seem to be suggesting similar features concerning this as well!

Calendar crashes

What bug did you encounter?

At some point quite late on in the game I reached a point where every time I tried to pass a certain point the game would crash.

Steps to Reproduce

I don't know what to say. It was the only bug I encountered after around 4 hours of game play. I have included the script error which is an IndexError

Screenshots

No response

Additional Information

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/script.rpy", line 1331, in script
    $ calendar.next_week()
  File "game/script.rpy", line 1331, in <module>
    $ calendar.next_week()
  File "game/scripts/calendar.rpy", line 29, in next_week
    self.day = self.day - self.days_count[self.month] - 1
IndexError: list index out of range

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "game/script.rpy", line 1331, in script
    $ calendar.next_week()
  File "renpy/ast.py", line 923, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "renpy/python.py", line 2235, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/script.rpy", line 1331, in <module>
    $ calendar.next_week()
  File "game/scripts/calendar.rpy", line 29, in next_week
    self.day = self.day - self.days_count[self.month] - 1
  File "renpy/python.py", line 992, in __getitem__
    rv = list.__getitem__(self, index)
IndexError: list index out of range

Windows-10
Ren'Py 7.4.8.1895
Learn to Code RPG 1.0
Thu Dec 30 09:04:43 2021

Linux Quiz - Incorrect answer for uname question

What bug did you encounter?

I think one of the Linux quiz questions has an incorrect answer

LearnToCodeRPG-1.0-linux/game/scripts/quiz_questions_from_csv.rpy

QuizQuestion(
question=("Which command is used to display the NAME of the operating system?"),
true=
("uname -s"),
false=[_("uname -r"), _("uname -k"), ("uname -u")],
explanation=
("The s option of the uname command prints the Operating System name"),
learn_more_url="https://www.freecodecamp.org/news/the-linux-commands-handbook/#the-linux-uname-command",
difficulty=3,
),

According to linux manual the tag -s prints the kernel name. I think the correct answer would be -o which print the operating system name.

Steps to Reproduce

I encountered this incorrect answer when doing the Linux quiz while studying CS fundamentals.

Screenshots

man-defenition-uname
bug

Additional Information

Thank you for making this great game! I really appreciate it!

Missing answer for one of the Python questions

What bug did you encounter?

Here is the quiz question:
What is the new line character in Python?
The 4 possibilities should be
\n
\new
\s
\m
But if you look at the screenshot the correct answer is not displaying.

Steps to Reproduce

You can find this question in the python category when doing the study quiz questions.

Screenshots

Screen Shot 2021-12-25 at 11 59 54 PM

Additional Information

No response

To Do Items Never Checked Off

Three of my "Learn about" to-do items that I was saving to do all at once were never addressed. The screenshot was taken after completing the game. New to-do items and terms were added and successfully completed after, but not these.
image

Update text from "worth learning in 2021" to "2022'.

What bug did you encounter?

The slide marked as August 1st incudes a phrase " tech skills worth to learn in 2021". It makes sense to change it to 2022.

Steps to Reproduce

Follow the game script until the slide comes up.

Screenshots

gameErrors_01

Additional Information

No response

Got an error my guys

What bug did you encounter?

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/script.rpy", line 817, in script call
    call ask_hackathon from _call_ask_hackathon
  File "game/scripts/labels/npc_question_and_answer.rpy", line 51, in script
    $ topics_to_ask.remove('Hackathon')
  File "game/scripts/labels/npc_question_and_answer.rpy", line 51, in <module>
    $ topics_to_ask.remove('Hackathon')
KeyError: u'Hackathon'

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "game/script.rpy", line 817, in script call
    call ask_hackathon from _call_ask_hackathon
  File "game/scripts/labels/npc_question_and_answer.rpy", line 51, in script
    $ topics_to_ask.remove('Hackathon')
  File "renpy/ast.py", line 923, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "renpy/python.py", line 2235, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/scripts/labels/npc_question_and_answer.rpy", line 51, in <module>
    $ topics_to_ask.remove('Hackathon')
  File "renpy/python.py", line 875, in do_mutation
    return method(self, *args, **kwargs)
KeyError: u'Hackathon'

Windows-10-10.0.19041
Ren'Py 7.4.8.1895
Learn to Code RPG 1.0
Fri Dec 24 02:24:45 2021

Steps to Reproduce

August 4, called my Lydia and chose Hackathon

Screenshots

No response

Additional Information

No response

Won't load achievements

What bug did you encounter?

I downloaded the game and play it. on Windows.
Saved and returned to the game a day later.
But, it started to count my achievements from zero.

Steps to Reproduce

Save the game with achievements.
Turn off the game.
Restart the game - lookup how many achievements you have... reach the next achievement and see what the counter says.

Screenshots

No response

Additional Information

No response

Wording of quiz question about .querySelector

What bug did you encounter?

in quiz_questions_from_csv.rpy, the question "What is the name of the method used to find elements that match one of more selectors?' is a bit misleading and awkward.

A better wording might be "What is the name of the method used to find the first element in the DOM to match a given CSS-style selector?"

document.querySelector takes a selector, or even a complex multi-selector, but only returns the first element to match.

Steps to Reproduce

new "The .querySelector() method is used to find elements in the DOM that match one of more selectors."

Screenshots

No response

Additional Information

No response

Game crashes at rhythm minigame

What bug did you encounter?

The game crashes whenever I try to play the rhythm minigame.

Steps to Reproduce

As soon as I click on any one of the songs in the rhythm mini game, it immediately displays the attached screenshot. I can safely rollback, but I can't do anything in the minigame.

Screenshots

rhythm minigame error 1

Additional Information

Here's the full error log:

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/script.rpy", line 1229, in script call
    call day_activity_choices from _call_day_activity_choices_6
  File "game/scripts/labels/day_activity_choices.rpy", line 15, in script call
    call day_activity_relax from _call_day_activity_relax
  File "game/scripts/labels/day_activity_choices.rpy", line 167, in script call
    call day_activity_video_game from _call_day_activity_video_game
  File "game/scripts/labels/day_activity_choices.rpy", line 287, in script call
    call rhythm_game_entry_label from _call_rhythm_game_entry_label
  File "game/scripts/rhythm_minigame.rpy", line 573, in script
    call screen rhythm_game(rhythm_game_displayable)
  File "renpy/common/000statements.rpy", line 569, in execute_call_screen
    store._return = renpy.call_screen(name, *args, **kwargs)
  File "game/scripts/rhythm_minigame.rpy", line 67, in execute
    screen rhythm_game(rhythm_game_displayable):
  File "game/scripts/rhythm_minigame.rpy", line 67, in execute
    screen rhythm_game(rhythm_game_displayable):
  File "game/scripts/rhythm_minigame.rpy", line 81, in execute
    vbox:
  File "game/scripts/rhythm_minigame.rpy", line 101, in execute
    showif rhythm_game_displayable.has_game_started:
  File "game/scripts/rhythm_minigame.rpy", line 103, in execute
    text _('Score: [score+str]'):
NameError: Name 'score+str' is not defined.

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "game/script.rpy", line 1229, in script call
    call day_activity_choices from _call_day_activity_choices_6
  File "game/scripts/labels/day_activity_choices.rpy", line 15, in script call
    call day_activity_relax from _call_day_activity_relax
  File "game/scripts/labels/day_activity_choices.rpy", line 167, in script call
    call day_activity_video_game from _call_day_activity_video_game
  File "game/scripts/labels/day_activity_choices.rpy", line 287, in script call
    call rhythm_game_entry_label from _call_rhythm_game_entry_label
  File "game/scripts/rhythm_minigame.rpy", line 573, in script
    call screen rhythm_game(rhythm_game_displayable)
  File "renpy/ast.py", line 2010, in execute
    self.call("execute")
  File "renpy/ast.py", line 1998, in call
    return renpy.statements.call(method, parsed, *args, **kwargs)
  File "renpy/statements.py", line 278, in call
    return method(parsed, *args, **kwargs)
  File "renpy/common/000statements.rpy", line 569, in execute_call_screen
    store._return = renpy.call_screen(name, *args, **kwargs)
  File "renpy/exports.py", line 3132, in call_screen
    rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
  File "renpy/ui.py", line 298, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "renpy/display/core.py", line 3276, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, **kwargs)
  File "renpy/display/core.py", line 3694, in interact_core
    root_widget.visit_all(lambda i : i.per_interact())
  File "renpy/display/core.py", line 568, in visit_all
    d.visit_all(callback, seen)
  File "renpy/display/core.py", line 568, in visit_all
    d.visit_all(callback, seen)
  File "renpy/display/core.py", line 568, in visit_all
    d.visit_all(callback, seen)
  File "renpy/display/screen.py", line 432, in visit_all
    callback(self)
  File "renpy/display/core.py", line 3694, in <lambda>
    root_widget.visit_all(lambda i : i.per_interact())
  File "renpy/display/screen.py", line 443, in per_interact
    self.update()
  File "renpy/display/screen.py", line 631, in update
    self.screen.function(**self.scope)
  File "game/scripts/rhythm_minigame.rpy", line 67, in execute
    screen rhythm_game(rhythm_game_displayable):
  File "game/scripts/rhythm_minigame.rpy", line 67, in execute
    screen rhythm_game(rhythm_game_displayable):
  File "game/scripts/rhythm_minigame.rpy", line 81, in execute
    vbox:
  File "game/scripts/rhythm_minigame.rpy", line 101, in execute
    showif rhythm_game_displayable.has_game_started:
  File "game/scripts/rhythm_minigame.rpy", line 103, in execute
    text _('Score: [score+str]'):
  File "renpy/text/text.py", line 1551, in __init__
    self.set_text(text, scope, substitute)
  File "renpy/text/text.py", line 1670, in set_text
    i, did_sub = renpy.substitutions.substitute(i, scope, substitute)
  File "renpy/substitutions.py", line 270, in substitute
    s = formatter.vformat(s, (), kwargs)
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python2.7/string.py", line 563, in vformat
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python2.7/string.py", line 585, in _vformat
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python2.7/string.py", line 646, in get_field
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python2.7/string.py", line 605, in get_value
  File "renpy/substitutions.py", line 228, in __getitem__
    raise NameError("Name '{}' is not defined.".format(key))
NameError: Name 'score+str' is not defined.

Windows-10-10.0.19041
Ren'Py 7.4.8.1895
Learn to Code RPG 1.0
Wed Jan 19 12:17:26 2022

Bug report: pipe symbol Question glitch

What bug did you encounter?

In one of the questions ; there is only 3 answers yet 4 boxes to choose from. Would it be better if the possible question answers on line 3280 of "quiz_questions_from_csv.rpy be edited to have another possible answer or have the screen adapt to variable length answer possibilities .

Steps to Reproduce

My character was studying the Linux subjects when this question randomly came up.

Screenshots

Picture of the question

Additional Information

There is a possibility more questions are like this. I haven't browsed the entire quiz questions RenPy file.

Crash: Date out of range

What bug did you encounter?

The game encountered an date of out of range exception when the checklist was going to be formally cleared. I hit the button to proceed and got an exception.

Steps to Reproduce

At the end of the month before the formal next day, my character finally got accepted for a job. It occurred when a new week was formally added.

Screenshots

Crash report

Invalid date

Additional Information

I was fast-forwarding and time traveling a lot if that helps.

Quizes: Randomized questions include repeats in same session

What feature would you like to suggest?

I just started playing and think I noticed a tiny issue. When you are practicing in the study session and you set the questions to randomize; some of the same questions seem to pop up. I can't remember which question was the same though.

Additional Information

I noticed that on the study session set for August 3rd if that helps. The question had something to do with an HTML element if that helps clarify things.

Edit: I found the question in the history.

It was "What does the details element do in HTML?"

This is labeled as a feature request rather than a bug because it is technically reasonable for quiz websites to give the same question more than once.

Text speed

What bug did you encounter?

Hey guys! First of all I want to thank you for your job. You are really awsome!
Now! About the bug. If I will setup low speed of text I will cath this bug.

As You can see onthe first screenshot, the time line is almost finished but question is not printed yet.
Also I want to consider your attention that non perfect english spokers can play in your game. But time for answering is too fast.
Ofcourse, if we can translate it in to many languages it would be pretty cool) Maybe I can help with russian and ukrainian translation.

Steps to Reproduce

Very simple. Go to Settings and pull speed text to maximum slow. And now just play the game.

Screenshots

image
image

Additional Information

No response

Semicolon does not show in HTML Quiz Question about character entities

What bug did you encounter?

Here is the quiz question:
What is the HTML character entity for the ampersand sign?

As you can see in the screenshot, the semicolon is not showing for 3 out of the 4 answers.

The correct answer should be displaying this:
&amp;

Steps to Reproduce

Take a quiz in the HTML section and look for this question.

Here is the quiz question:
What is the HTML character entity for the ampersand sign?

Screenshots

Screen Shot 2022-01-01 at 10 32 16 AM

Additional Information

I am using a Mac mini to play the game.

Skipping doesn't work

What bug did you encounter?

In the view where the selection of

  • Take a walk in the park
  • Play some video games
  • Listen to music
    comes, skipping doesn't work

Steps to Reproduce

continued the normal procedure with next and where the selection came I wanted to skip.

Screenshots

skipping

Additional Information

No response

misquoting when taking a day off

What bug did you encounter?

character thinking about working at the caffe when i had walked around the park

Steps to Reproduce

on day 9 i took a break, went to the park, and when i came back home, i wondered about tech words i heard on barista shift, wich i didn't do it on the day. maybe check if the before-bed thoughts are properly assigned to the activities during that day

Screenshots

image
image

Additional Information

No response

Typo in phrase when all questions are answered correctly

What bug did you encounter?

Got the message "I got all questions my right!".
I guess "my" should come before "questions".

Steps to Reproduce

Get all four questions answered correctly.
It does not happen every time, in my case, it was in a mix-and-match and not a specific category of questions.

Screenshots

syntax_my_questions

Additional Information

No response

Stat increases / decreases not showing properly

What bug did you encounter?

Every time I answer a CS question correctly, my stat increases don't show properly. Instead the message states:
"[stats_name!t] knowledge increased by [val_str]"
When my sanity decreases after studying, it's the same thing.

Steps to Reproduce

Every time I study and answer quiz questions, it happens. Happens every time stats go up or down. Consistent from beginning to now.

Screenshots

screenshot0002

Additional Information

I installed the game on my desktop. That wouldn't have any effect, right?

AttributeError when opening the repo on renpy

What bug did you encounter?

I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/scripts/definitions.rpy", line 1, in script
init python:
File "game/scripts/definitions.rpy", line 1, in script
init python:
File "game/scripts/definitions.rpy", line 101, in
image_name = re.match(r'images/bg/(.+).png', file).group(1) # ex. images/bg/(bg living_room).png
AttributeError: 'NoneType' object has no attribute 'group'

-- Full Traceback ------------------------------------------------------------

Full traceback:
File "/home/wartr3x/repos/renpy/projects/renpy-7.4.11-sdk/renpy/bootstrap.py", line 331, in bootstrap
renpy.main.main()
File "/home/wartr3x/repos/renpy/projects/renpy-7.4.11-sdk/renpy/main.py", line 560, in main
renpy.game.context().run(node)
File "game/scripts/definitions.rpy", line 1, in script
init python:
File "game/scripts/definitions.rpy", line 1, in script
init python:
File "/home/wartr3x/repos/renpy/projects/renpy-7.4.11-sdk/renpy/ast.py", line 928, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "/home/wartr3x/repos/renpy/projects/renpy-7.4.11-sdk/renpy/python.py", line 2245, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/scripts/definitions.rpy", line 101, in
image_name = re.match(r'images/bg/(.+).png', file).group(1) # ex. images/bg/(bg living_room).png
AttributeError: 'NoneType' object has no attribute 'group'

Linux-5.11.0-41-generic-x86_64-with-debian-bullseye-sid
Ren'Py 7.4.11.2266
Learn to Code RPG 1.0
Fri Dec 24 10:54:14 2021

Steps to Reproduce

So i shallow cloned the repo, opened it on renpy so that i can build the game myself from scratch, and i got the error.
Looks like regex returns None of which it's kinder weird since the images/bg folder exists. I wonder if it has anything to do with how i locally cloned the repo (--depth 1).

Screenshots

No response

Additional Information

The error didn't occur from the game play, LearnToCodeRPG resides in the Ren'Py sdk folder.

Bug report: Error opening github repo link

What bug did you encounter?

The program encountered an exception with an open format operation after clicking on a button to open the browser.

Steps to Reproduce

At the very end of the game (after I got an ending; in this case the dream dev job after exploding the production server), I clicked a button to ask to check out the source code. After that I got prompted to see if I wanted to view the source code in the browser. I clicked on the button and then an exception occurs.

Screenshots

The Crash

Additional Information

No response

Typo in question about background-clip

What bug did you encounter?

Got the question "What is the name of the property that clips the background image to inside the container?"

I guess to is not needed.

Steps to Reproduce

Get an interview question related to CSS.

Screenshots

typo_clip

Additional Information

No response

Crash: Easter Egg Skill in Job Posting

What bug did you encounter?

I crashed your nice shiny new program. Sorry.

Here's the log:

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/script.rpy", line 1342, in script call
    call day_activity_job_search from _call_day_activity_job_search_1
  File "game/scripts/labels/day_activity_choices.rpy", line 335, in script
    call screen job_posting_screen(company_name, company_required_skills, easter_egg_skill=easter_egg_skill)
  File "renpy/common/000statements.rpy", line 569, in execute_call_screen
    store._return = renpy.call_screen(name, *args, **kwargs)
  File "game/scripts/job_posting.rpy", line 36, in execute
    screen job_posting_screen(company_name, skill_names, easter_egg_skill=None):
  File "game/scripts/job_posting.rpy", line 36, in execute
    screen job_posting_screen(company_name, skill_names, easter_egg_skill=None):
  File "game/scripts/job_posting.rpy", line 37, in execute
    frame:
  File "game/scripts/job_posting.rpy", line 46, in execute
    vbox:
  File "game/scripts/job_posting.rpy", line 58, in execute
    vbox:
  File "game/scripts/job_posting.rpy", line 63, in execute
    if easter_egg_skill:
  File "game/scripts/job_posting.rpy", line 65, in execute
    textbutton "•  " + easter_egg_skill:
  File "game/scripts/job_posting.rpy", line 65, in keywords
    textbutton "•  " + easter_egg_skill:
  File "game/scripts/job_posting.rpy", line 67, in <module>
    Play('audio/sfx/confirm_and_share.wav'),
TypeError: __init__() takes at least 3 arguments (2 given)

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "game/script.rpy", line 1342, in script call
    call day_activity_job_search from _call_day_activity_job_search_1
  File "game/scripts/labels/day_activity_choices.rpy", line 335, in script
    call screen job_posting_screen(company_name, company_required_skills, easter_egg_skill=easter_egg_skill)
  File "renpy/ast.py", line 2010, in execute
    self.call("execute")
  File "renpy/ast.py", line 1998, in call
    return renpy.statements.call(method, parsed, *args, **kwargs)
  File "renpy/statements.py", line 278, in call
    return method(parsed, *args, **kwargs)
  File "renpy/common/000statements.rpy", line 569, in execute_call_screen
    store._return = renpy.call_screen(name, *args, **kwargs)
  File "renpy/exports.py", line 3132, in call_screen
    rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
  File "renpy/ui.py", line 298, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "renpy/display/core.py", line 3276, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, **kwargs)
  File "renpy/display/core.py", line 3694, in interact_core
    root_widget.visit_all(lambda i : i.per_interact())
  File "renpy/display/core.py", line 568, in visit_all
    d.visit_all(callback, seen)
  File "renpy/display/core.py", line 568, in visit_all
    d.visit_all(callback, seen)
  File "renpy/display/core.py", line 568, in visit_all
    d.visit_all(callback, seen)
  File "renpy/display/screen.py", line 432, in visit_all
    callback(self)
  File "renpy/display/core.py", line 3694, in <lambda>
    root_widget.visit_all(lambda i : i.per_interact())
  File "renpy/display/screen.py", line 443, in per_interact
    self.update()
  File "renpy/display/screen.py", line 631, in update
    self.screen.function(**self.scope)
  File "game/scripts/job_posting.rpy", line 36, in execute
    screen job_posting_screen(company_name, skill_names, easter_egg_skill=None):
  File "game/scripts/job_posting.rpy", line 36, in execute
    screen job_posting_screen(company_name, skill_names, easter_egg_skill=None):
  File "game/scripts/job_posting.rpy", line 37, in execute
    frame:
  File "game/scripts/job_posting.rpy", line 46, in execute
    vbox:
  File "game/scripts/job_posting.rpy", line 58, in execute
    vbox:
  File "game/scripts/job_posting.rpy", line 63, in execute
    if easter_egg_skill:
  File "game/scripts/job_posting.rpy", line 65, in execute
    textbutton "•  " + easter_egg_skill:
  File "game/scripts/job_posting.rpy", line 65, in keywords
    textbutton "•  " + easter_egg_skill:
  File "game/scripts/job_posting.rpy", line 67, in <module>
    Play('audio/sfx/confirm_and_share.wav'),
TypeError: __init__() takes at least 3 arguments (2 given)

Windows-10-10.0.19041
Ren'Py 7.4.8.1895
Learn to Code RPG 1.0
Fri Dec 31 17:03:01 2021

Steps to Reproduce

I can't exactly remember what the last thing I did was - it was becoming a bit of a blur of forwarding past the repetitive bits. I had recently failed my first interview and got a message telling me to not feel too bad.

Screenshots

No response

Additional Information

Edit to add:
On restarting the game at the last save point, I chose taking a day off to play video games. All the previous scores that I had gotten (3 songs) now show zero. So the crash seems to have wiped all record of me playing the rhythm game.

Edit #2:
Also after restarting at last save, I was re-offered the interview that I had failed (Yes, I'm pretty sure that I had saved after the interview.) So, it looks like information about the interview was also lost. My stats were still intact, though.

Error in question,

What bug did you encounter?

In the python section, the question:
What is the modulo operator in Python?

I think the answer should be "%" instead of "%%"

Steps to Reproduce

choosing the python option.

Screenshots

Sin título

Additional Information

No response

Developer Quiz: Duplicate multiple choice option in a question from the Python section

What bug did you encounter?

Operating System: Windows 10

When I took the Python section of the Developer Quiz, I encountered a bug in this question: Which one of the following options prints "Hello, World!" without starting a new line at the end?

Two multiple choice options appear as print("Hello, World!", end=""). I chose the first occurrence which was the correct answer.

When I reproduced this bug the first time, I chose the second print("Hello, World!", end=""). This choice resulted in a "Wrong..." answer and then displayed the correct answer after continuing with the game. However, the displayed correct answer appeared the same as the second print("Hello, World!", end="").

I tried reproducing the bug again with the first print("Hello, World!", end="") option. This choice resulted in a "Correct!" response.

Steps to Reproduce

  1. By using the Save menu, I saved the game in a save slot before picking an answer above. I clicked the first print("Hello, World!", end="") option and received a correct response.
  2. Then, I went to the Settings menu to use the Load Game menu.
  3. In the Load Game menu, I chose to load the saved game slot from Step 1.
  4. I repeated steps 2-4 until I encountered the question Which one of the following options prints "Hello, World!" without starting a new line at the end? again. This was necessary because the quiz questions appear randomly.
  5. To get a "Correct!" response, I chose the first print("Hello, World!", end=""). To get a "Wrong..." response, I picked the second print("Hello, World!", end="").

Screenshots

First occurrence of the bug:
learnToCodeRPG_python_quiz_ui_bug

Reproducing the bug and choosing the second print("Hello, World!", end="")
learnToCodeRPG_python_quiz_ui_bug_steps_to_reproduce_1_wrong
learnToCodeRPG_python_quiz_ui_bug_steps_to_reproduce_2_wrong
learnToCodeRPG_python_quiz_ui_bug_steps_to_reproduce_3_wrong

Reproducing the bug and choosing the first print("Hello, World!", end="")
learnToCodeRPG_python_quiz_ui_bug_steps_to_reproduce_1_correct
learnToCodeRPG_python_quiz_ui_bug_steps_to_reproduce_2_correct

Additional Information

No response

Improve Text-to-Speech

What feature would you like to suggest?

Direct quote from itch user nidza07

First, repeating text.

There is currently a small problem with all story text in-game. The TTS starts reading a message, and then mid-way stops and starts again, this time finishing successfully however so it is not a huge problem.

What I suspect is happening here is the text appears on screen, TTS starts reading, and then the text finished scrolling and is now fully available so speech interrupts and restarts to read the completed text.

I have no usable vision though so this is only my guess. If it is indeed the case, it would be better for TTS to start reading only when the text is fully available and thus avoid this problem. If my explanation is not clear enough, I can submit a recording demonstrating this.

Second, it would be really nice to be able to spell any text with left and right arrow keys moving letter by letter, for example. As it stands, with many TTS engines, git add filename and git add <filename for example sounds exactly the same.

Direct quote from itch user arqamgrt

first. I'm a windows user. and using NVDA screen reader. but in this game, TTS only works with native screen readers, that is narrator in my case. but narrator is not responsive as NVDA is. so, it would be better to give option to the user about choosing the screen reader. specially if user is using windows.

second, currently, it's not possible to change the speed of the TTS from the game. it is better to have this option for the users so they can play the game on their own speed.

third, there was a question in HTML about ins tag, but TTS wasn't speaking the options of that question.

fourth, there could be some shortcut keys to control the volumes of the sound and music. for example, Page Up for increasing the music volume. Page down for decreasing the music volume. etc.

and lastly, in the settings, there should be a slider with percentage in the options like text speed bar, sound volume, and music volume etc. when we increase the volume, it could say, music volume 50%.

Additional Information

No response

Uncaught Exception Line 1085

What bug did you encounter?

I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/script.rpy", line 1085, in script call
call day_activity_choices from _call_day_activity_choices_5
File "game/scripts/labels/day_activity_choices.rpy", line 36, in script call
call study_session from _call_study_session_1
File "game/scripts/labels/quiz_session.rpy", line 41, in script
$ renpy.say(None, quiz_question.question, interact=False)
File "game/scripts/labels/quiz_session.rpy", line 41, in
$ renpy.say(None, quiz_question.question, interact=False)
TypeError: %o format: a number is required, not TagQuotingDict

-- Full Traceback ------------------------------------------------------------

Full traceback:
File "game/script.rpy", line 1085, in script call
call day_activity_choices from _call_day_activity_choices_5
File "game/scripts/labels/day_activity_choices.rpy", line 36, in script call
call study_session from _call_study_session_1
File "game/scripts/labels/quiz_session.rpy", line 41, in script
$ renpy.say(None, quiz_question.question, interact=False)
File "C:\Users\Lozzy\Saved Games\LearnToCodeRPG-1.0-pc/renpy/ast.py", line 923, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "C:\Users\Lozzy\Saved Games\LearnToCodeRPG-1.0-pc/renpy/python.py", line 2235, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/scripts/labels/quiz_session.rpy", line 41, in
$ renpy.say(None, quiz_question.question, interact=False)
File "C:\Users\Lozzy\Saved Games\LearnToCodeRPG-1.0-pc/renpy/exports.py", line 1406, in say
what = what % tag_quoting_dict
TypeError: %o format: a number is required, not TagQuotingDict

Windows-10-10.0.19041
Ren'Py 7.4.8.1895
Learn to Code RPG 1.0
Tue Jan 18 12:47:39 2022

Steps to Reproduce

I had just finished a day off - choice games. The day after I chose CS fundamentals - CSS. I answered the first question correctly and on the second question the uncaught error occurred. Not really sure how to be sure if this would reproduce the problem, but it's as much as I can remember.

Please tell me if there are any techniques I can use to provide you more information for future reports.

Screenshots

image

image

Additional Information

Hi there,

I'd love to be more helpful with how I report issues. If you can give me some tips. I don't know what information is relevant in terms of reproducing the problem... Do you want me to give extra game play information? Obviously, I don't want to waste your time if the information isn't relevant. I've had a couple of uncaught errors since re-downloading. When I rolled back after the first uncaught error. It seemed changing my path prevented the same error, but here I am a bit later encountering a new error (or possibly the same one as before)

Thanks for the hard work!

Synchronize the arrows with the music beats when they hit the bottom line in the rhythm mini-game

What feature would you like to suggest?

When playing the rhythm mini-game, the action of pressing the arrow bottoms on the keyboard (corresponding to the arrow buttons that appears on the screen) at the time they reach the bottom line feels disconnected from the music that is playing. The moment in which the arrows are supposed to be pressed is not synchronized with the music beats. This makes me concentrate on the visual hints rather than also use the music as a support to make it more enjoyable. I haven't played too much these type of music games before, so I don't know if this is the normal game mechanic.

Additional Information

No response

error "I'm sorry, but an uncaught exception occurred." in hackathon option

What bug did you encounter?

This is the description of error that the game gives

[code]
I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/script.rpy", line 817, in script call
call ask_hackathon from _call_ask_hackathon
File "game/scripts/labels/npc_question_and_answer.rpy", line 51, in script
$ topics_to_ask.remove('Hackathon')
File "game/scripts/labels/npc_question_and_answer.rpy", line 51, in
$ topics_to_ask.remove('Hackathon')
KeyError: u'Hackathon'

-- Full Traceback ------------------------------------------------------------

Full traceback:
File "game/script.rpy", line 817, in script call
call ask_hackathon from _call_ask_hackathon
File "game/scripts/labels/npc_question_and_answer.rpy", line 51, in script
$ topics_to_ask.remove('Hackathon')
File "renpy/ast.py", line 923, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "renpy/python.py", line 2235, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/scripts/labels/npc_question_and_answer.rpy", line 51, in
$ topics_to_ask.remove('Hackathon')
File "renpy/python.py", line 875, in do_mutation
return method(self, *args, **kwargs)
KeyError: u'Hackathon'

Windows-10-10.0.19041
Ren'Py 7.4.8.1895
Learn to Code RPG 1.0
Mon Jan 3 17:01:33 2022
[/code]

Steps to Reproduce

In the part when I can choose between

Hackathon
Hacker space
That's everything I need to know

When I choose "hackathon"
after Annika explains what a hackathon is, the game trows the error

Screenshots

bug 2

bug

Additional Information

Is I choose ignore error, I can keep playing without problems

Link format makes it tough to tell what's a link or not

What bug did you encounter?

On the August 3 call to the Annika character there's what looks like a link to https://developerquiz.org, but it doesn't seem to link anywhere

In general accessibility-wise I know the advice is to not distinguish interactive elements solely by one characteristic (ie color) and this is all the more important for links in bodies of text (ie some color-blind users won't be able to tell these are meant to be links at all.)

Currently, I believe your links fail WCAG 1.4.1 - I'd recommend adding an underline to links and only applying that styling to things that are actually linking somewhere. Ideally, you might also consider making the color more distinct from your body text and making the cursor a pointer when over links (not sure if that's an accessibility issue but I know it confused me haha)

Steps to Reproduce

Play the game to august 3rd, get on the phone call to Annika, and proceed to the step where she's discussing developer quizzes. Try and click on the link. The game will proceed to the next dialogue slide instead.

Screenshots

No response

Additional Information

No response

Uncaught Exception

What bug did you encounter?

I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/script.rpy", line 1334, in script
"(Well, this is the reality of navigating the stress of applying to jobs, waiting for application follow-up, going to interviews, waiting for interview follow-up, and {b}Repeat{/b}.)"
File "game/scripts/calendar.rpy", line 50, in execute
screen calendar_screen():
File "game/scripts/calendar.rpy", line 50, in execute
screen calendar_screen():
File "game/scripts/calendar.rpy", line 53, in execute
if calendar_enabled:
File "game/scripts/calendar.rpy", line 54, in execute
frame:
File "game/scripts/calendar.rpy", line 60, in execute
hbox:
File "game/scripts/calendar.rpy", line 63, in execute
text calendar.get_month_string():
File "game/scripts/calendar.rpy", line 63, in
text calendar.get_month_string():
File "game/scripts/calendar.rpy", line 43, in get_month_string
return self.month_names[self.month]
IndexError: list index out of range

-- Full Traceback ------------------------------------------------------------

Full traceback:
File "game/script.rpy", line 1334, in script
"(Well, this is the reality of navigating the stress of applying to jobs, waiting for application follow-up, going to interviews, waiting for interview follow-up, and {b}Repeat{/b}.)"
File "/home/ckvignesh/Vignesh/LearnToCodeRPG-1.0-linux/renpy/ast.py", line 716, in execute
renpy.exports.say(who, what, *args, **kwargs)
File "/home/ckvignesh/Vignesh/LearnToCodeRPG-1.0-linux/renpy/exports.py", line 1417, in say
who(what, *args, **kwargs)
File "/home/ckvignesh/Vignesh/LearnToCodeRPG-1.0-linux/renpy/character.py", line 1223, in call
self.do_display(who, what, cb_args=self.cb_args, dtt=dtt, **display_args)
File "/home/ckvignesh/Vignesh/LearnToCodeRPG-1.0-linux/renpy/character.py", line 875, in do_display
**display_args)
File "/home/ckvignesh/Vignesh/LearnToCodeRPG-1.0-linux/renpy/character.py", line 621, in display_say
rv = renpy.ui.interact(mouse='say', type=type, roll_forward=roll_forward)
File "/home/ckvignesh/Vignesh/LearnToCodeRPG-1.0-linux/renpy/ui.py", line 298, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "/home/ckvignesh/Vignesh/LearnToCodeRPG-1.0-linux/renpy/display/core.py", line 3276, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, **kwargs)
File "/home/ckvignesh/Vignesh/LearnToCodeRPG-1.0-linux/renpy/display/core.py", line 3694, in interact_core
root_widget.visit_all(lambda i : i.per_interact())
File "/home/ckvignesh/Vignesh/LearnToCodeRPG-1.0-linux/renpy/display/core.py", line 568, in visit_all
d.visit_all(callback, seen)
File "/home/ckvignesh/Vignesh/LearnToCodeRPG-1.0-linux/renpy/display/core.py", line 568, in visit_all
d.visit_all(callback, seen)
File "/home/ckvignesh/Vignesh/LearnToCodeRPG-1.0-linux/renpy/display/core.py", line 568, in visit_all
d.visit_all(callback, seen)
File "/home/ckvignesh/Vignesh/LearnToCodeRPG-1.0-linux/renpy/display/screen.py", line 432, in visit_all
callback(self)
File "/home/ckvignesh/Vignesh/LearnToCodeRPG-1.0-linux/renpy/display/core.py", line 3694, in
root_widget.visit_all(lambda i : i.per_interact())
File "/home/ckvignesh/Vignesh/LearnToCodeRPG-1.0-linux/renpy/display/screen.py", line 443, in per_interact
self.update()
File "/home/ckvignesh/Vignesh/LearnToCodeRPG-1.0-linux/renpy/display/screen.py", line 631, in update
self.screen.function(**self.scope)
File "game/scripts/calendar.rpy", line 50, in execute
screen calendar_screen():
File "game/scripts/calendar.rpy", line 50, in execute
screen calendar_screen():
File "game/scripts/calendar.rpy", line 53, in execute
if calendar_enabled:
File "game/scripts/calendar.rpy", line 54, in execute
frame:
File "game/scripts/calendar.rpy", line 60, in execute
hbox:
File "game/scripts/calendar.rpy", line 63, in execute
text calendar.get_month_string():
File "game/scripts/calendar.rpy", line 63, in
text calendar.get_month_string():
File "game/scripts/calendar.rpy", line 43, in get_month_string
return self.month_names[self.month]
File "/home/ckvignesh/Vignesh/LearnToCodeRPG-1.0-linux/renpy/python.py", line 992, in getitem
rv = list.getitem(self, index)
IndexError: list index out of range

Linux-5.11.0-46-generic-x86_64-with-debian-bullseye-sid
Ren'Py 7.4.8.1895
Learn to Code RPG 1.0
Mon Jan 17 20:48:24 2022

Steps to Reproduce

It occurred at the ending of the day in the game.

Screenshots

image
image

Additional Information

No response

After sleeping on December 28 I get this error.

What bug did you encounter?

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/script.rpy", line 1331, in script
    $ calendar.next_week()
  File "game/script.rpy", line 1331, in <module>
    $ calendar.next_week()
  File "game/scripts/calendar.rpy", line 29, in next_week
    self.day = self.day - self.days_count[self.month] - 1
IndexError: list index out of range

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "game/script.rpy", line 1331, in script
    $ calendar.next_week()
  File "/home/USER/.config/itch/apps/learn-to-code-rpg/LearnToCodeRPG-1.0-linux/renpy/ast.py", line 923, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "/home/USER/.config/itch/apps/learn-to-code-rpg/LearnToCodeRPG-1.0-linux/renpy/python.py", line 2235, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/script.rpy", line 1331, in <module>
    $ calendar.next_week()
  File "game/scripts/calendar.rpy", line 29, in next_week
    self.day = self.day - self.days_count[self.month] - 1
  File "/home/USER/.config/itch/apps/learn-to-code-rpg/LearnToCodeRPG-1.0-linux/renpy/python.py", line 992, in __getitem__
    rv = list.__getitem__(self, index)
IndexError: list index out of range

Linux-5.15.8-arch1-1-x86_64-with-glibc2.2.5
Ren'Py 7.4.8.1895
Learn to Code RPG 1.0
Thu Dec 23 16:58:44 2021
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/script.rpy", line 1331, in script
    $ calendar.next_week()
  File "game/script.rpy", line 1331, in <module>
    $ calendar.next_week()
  File "game/scripts/calendar.rpy", line 29, in next_week
    self.day = self.day - self.days_count[self.month] - 1
IndexError: list index out of range

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "game/script.rpy", line 1331, in script
    $ calendar.next_week()
  File "/home/USER/.config/itch/apps/learn-to-code-rpg/LearnToCodeRPG-1.0-linux/renpy/ast.py", line 923, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "/home/USER/.config/itch/apps/learn-to-code-rpg/LearnToCodeRPG-1.0-linux/renpy/python.py", line 2235, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/script.rpy", line 1331, in <module>
    $ calendar.next_week()
  File "game/scripts/calendar.rpy", line 29, in next_week
    self.day = self.day - self.days_count[self.month] - 1
  File "/home/USER/.config/itch/apps/learn-to-code-rpg/LearnToCodeRPG-1.0-linux/renpy/python.py", line 992, in __getitem__
    rv = list.__getitem__(self, index)
IndexError: list index out of range

Linux-5.15.8-arch1-1-x86_64-with-glibc2.2.5
Ren'Py 7.4.8.1895
Learn to Code RPG 1.0
Thu Dec 23 16:58:44 2021

Steps to Reproduce

Progress game until December 28 and sleep.

Screenshots

image

Additional Information

Ignoring the error presents new errors from FIle "game/script.rpy", line 1329 to File "game/script.rpy", line 1347 and then back to the first error.

Stats/knowledge values on pop-up not resolving

What bug did you encounter?

The stats/knowledge pop-up messages look like they're missing the proper/resolved values.

Steps to Reproduce

  1. Download and run the game on linux.
  2. Paste saved games files from a Windows device.
  3. Run and continue the game again.

Screenshots

image

Additional Information

Saved games (last one being the one where the issue is visible): saves.zip

Localized Versions

What feature would you like to suggest?

We would want to deploy localized versions of the app in major world languages. Similar to the setup we have for our core learning platform.

Additional Information

We can track the needs & user stories here in this thread;

  • Understand how strings are stored in the context of this project and implement the localization, for ex: we use react-i18n-next on the main learning platform.
  • Create and set up a Crowdin Project with the required configurations.
  • Create and set up the GitHub actions workflows to upload and download translations.
  • ...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.