Skip to content
This repository was archived by the owner on Feb 3, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
7 changes: 4 additions & 3 deletions BytesOfLove/game/script.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ default bsl_rep = 50

#background characters with no impact
#this needs to be changed to the final character image for the advisor
image advisor = "SideCharacters/advisor_tempImage.png"
image advisor = "SideCharacters/Breakout_leader_1.png"
image advisor_talking = "SideCharacters/Breakout_leader_2.png"


# Backgrounds
Expand Down Expand Up @@ -173,8 +174,8 @@ image vending_machine = "backgrounds/vending-machine.PNG"





image question_1 = "codingImages/coding_question_1.png"
image question_2 = "codingImages/coding_question_2.png"



Expand Down
54 changes: 37 additions & 17 deletions BytesOfLove/game/scripts/orientation/w0_d2.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -418,9 +418,19 @@ label w0_d2_AfterLunch:
hide js_talk
show js_normal at left

window hide
show question_1 with dissolve:
xalign 0.5
yalign 0.05
xysize (1500, 800) # Wait for the player to press a key (e.g. space).

window show
"continue to answer"

menu w0_d2_q1answer:
#

"15":
hide question_1 with dissolve
#techscore -
mc "\"I think it’s 15 because 3 times 5 is 15.\""
mc "\"It’s as simple as that, let’s not overthink this.\""
Expand Down Expand Up @@ -454,6 +464,7 @@ label w0_d2_AfterLunch:
hide cpp_handhip_talk
show cpp_handhip_normal
"'15'":
hide question_1 with dissolve
#tech score -
mc "\"I think it's ‘15’ because 3 times 5 is 15.\""
mc "\"But since the 5 has quotes around it, the answer will have quotes around it too.\""
Expand Down Expand Up @@ -488,6 +499,7 @@ label w0_d2_AfterLunch:
hide cpp_handhip_talk
show cpp_handhip_normal
"'33333'":
hide question_1 with dissolve
#tech score -
mc "\"I think it’s ‘33333’ because the 5 has quotes around it and the 3 is just a normal number.\""
mc "\"So something weird will have to happen.\""
Expand Down Expand Up @@ -525,6 +537,7 @@ label w0_d2_AfterLunch:
hide cpp_handhip_talk
show cpp_handhip_normal
"'555'":
hide question_1 with dissolve
# tech score+ (CORRECT ANSWER)
mc "\"Okay, wait. I think I actually know this one.\""
mc "\"Since the 5 has quotations around it, the variables won’t just multiply normally.\""
Expand Down Expand Up @@ -576,6 +589,7 @@ label w0_d2_AfterLunch:
show js_normal at left

"ERROR":
hide question_1 with dissolve
#tech score -
mc "\"I think it's going to be an error.\""
mc "\"There’s no way you can multiply a number by a string.\""
Expand Down Expand Up @@ -628,19 +642,21 @@ label w0_d2_AfterLunch:
bsl "\"What does the following Python code print?\""
hide bsl_talk

#DISPLAY:
#x = 4
#for i in range(x):
#x += 1
#print(x, end=‘’)

window hide
show question_2 with dissolve:
xalign 0.5
yalign 0.05
xysize (1500, 800) # Wait for the player to press a key (e.g. space).

window show
pause 2.0
p "\"Well I think I have some idea about this one.\""
p "\"The first thing I see is that this might be an infinite loop.\""
p "\"Because we iterate x times, but x keeps increasing.\""
p "\"But, maybe that loop range only references x one time.\""
p "\"What do you think C++?\""
p "\"You seem to know everything...\""

c "\"Uhm, well actually I am not too sure.\""
c "\"I was thinking it would be infinite as well.\""
c "\"But I am really not sure.\""
Expand All @@ -665,9 +681,7 @@ label w0_d2_AfterLunch:
c "\"You guys didn't know the answer either.\""
hide cpp_talk

show cpp_normal at left
hide python_pocket
show python_pocket_happy at right

p "\"Alright, well, do we have any ideas?\""
p "\"JavaScript? What are you thinking?\""

Expand All @@ -678,8 +692,10 @@ label w0_d2_AfterLunch:
js "\"At the same time I am just guessing.\""
js "\"You make a decision, [mc].\""

pause 2.0
menu w0_d2_mcdecision:
"ERROR":
hide question_2 with dissolve
#techScore -= 1
mc "\"Okay I think that this will result in an error.\""
mc "\"I don’t think it will know to only reference X once, at the start of the loop.\""
Expand Down Expand Up @@ -716,6 +732,7 @@ label w0_d2_AfterLunch:
p "\"It’s okay we didn’t know either.\""
p "\"If we did we would have said something.\""
"4567":
hide question_2 with dissolve
#techScore -= 1
hide js_normal
show js_smirk # might be a good idea to move this forward one?
Expand Down Expand Up @@ -761,9 +778,10 @@ label w0_d2_AfterLunch:
p "\"If we did we would have said something.\""

"5678":
hide question_2 with dissolve
#techScore += 1
hide js_normal
show js_smirk # read line 660
show js_smirk at left # read line 660
mc "\"I agree with JavaScript, this won’t be an error.\""
mc "\"So first it will increment x.\""
mc "\"Then it will print out 5, then 6, then 7, then 8.\""
Expand All @@ -775,15 +793,17 @@ label w0_d2_AfterLunch:
c "\"Whatever happens, happens, it’s just a game.\""

hide js_smirk
show js_normal
hide cpp_normal
show cpp_talk at left
show js_normal at left
hide cpp_talk

c "\"I disagree, but I’m not confident enough to say that I am right.\""
c "\"I say let’s trust your intuition, [mc].\""
c "\"Whatever happens, happens, it’s just a game.\""
hide cpp_talk
hide js_normal
hide python_pocket
hide js_normal
hide python_pocket
hide python_normal
hide cpp_handhip_normal
show bsl_talk
bsl "\"Alright, time’s up!\""
bsl "\"Everyone, write your answers down and hold them up.\""
Expand Down