Skip to content

Commit

Permalink
Remove stuff so apk is smaller than 1Mb
Browse files Browse the repository at this point in the history
This is a lighter version of the game that can be hosted on github
pages.
  • Loading branch information
ana-borges committed Feb 3, 2024
1 parent 796ba71 commit de691ef
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 442 deletions.
Binary file removed 325-can-you-count_mac.zip
Binary file not shown.
Binary file removed 325_can_you_count_Debian.zip
Binary file not shown.
Binary file removed 325_can_you_count_Ubuntu.zip
Binary file not shown.
437 changes: 0 additions & 437 deletions LICENSE.md

This file was deleted.

8 changes: 3 additions & 5 deletions reaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,15 @@ def execute(self):
class WrongNumber(ReactionInterface):
def execute(self):
sound_file: str = random.choice(["sounds/UH_YOU_SUCK.wav", "sounds/BUZZER.wav", "sounds/TRY_AGAIN.wav",
"sounds/SO_WRONG_IDIOT.wav", "sounds/COUNT_FEET.wav", "sounds/DRUNK.wav",
"sounds/SOCIETY.wav"])
"sounds/SO_WRONG_IDIOT.wav", "sounds/COUNT_FEET.wav", "sounds/DRUNK.wav"])
pg.mixer.Sound.play(pg.mixer.Sound(sound_file))
return


class NoNumber(ReactionInterface):

def execute(self):
sound_file: str = random.choice(["sounds/ARE_YOU_DUMB_THIS_IS_NOT_EVEN_A_NUMBER.wav", "sounds/DO_YOU_TRY.wav",
"sounds/NORMAL_PEOPLE_NUMBERS.wav", "sounds/TEACH_COUNTING.wav"])
sound_file: str = random.choice(["sounds/ARE_YOU_DUMB_THIS_IS_NOT_EVEN_A_NUMBER.wav", "sounds/DO_YOU_TRY.wav"])
pg.mixer.Sound.play(pg.mixer.Sound(sound_file))
return

Expand All @@ -34,7 +32,7 @@ class Timeout(ReactionInterface):

def execute(self):
sound_file: str = random.choice(["sounds/YOUR_MUM_IS_SO_SLOW.wav", "sounds/CONCENTRATE.wav",
"sounds/SO_SLOW.wav", "sounds/DIE_STUPIDITY.wav"])
"sounds/SO_SLOW.wav"])
pg.mixer.Sound.play(pg.mixer.Sound(sound_file))
return

Expand Down
Binary file removed sounds/DIE_STUPIDITY.wav
Binary file not shown.
Binary file removed sounds/NORMAL_PEOPLE_NUMBERS.wav
Binary file not shown.
Binary file removed sounds/SOCIETY.wav
Binary file not shown.
Binary file removed sounds/TEACH_COUNTING.wav
Binary file not shown.

0 comments on commit de691ef

Please sign in to comment.