Skip to content

Commit

Permalink
Update apk
Browse files Browse the repository at this point in the history
Forgot that I had to update the apk on my side before directly pushing to github.

The program should be updated with the previous features in the last 2 commits.

Copy feature has been removed as it clashes with some parts of the pygbag module, meaning that I cant run it and may find an alternative
  • Loading branch information
Nughm committed Mar 22, 2024
1 parent f6fda04 commit a7b9edd
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 23 deletions.
11 changes: 1 addition & 10 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 13 additions & 13 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
pygame.init()
Width, height = 1280, 720
screen = pygame.display.set_mode((Width, height))
pygame.scrap.init()
# pygame.scrap.init()
icon = pygame.image.load("favicon.png")
pygame.display.set_icon(icon)
pygame.display.set_caption("Fetch Decode Execute GCSE LMC simulator")
Expand Down Expand Up @@ -216,17 +216,17 @@ def convass(test):
memory[i] = WordToNum[temp[0]] + temp[1]
return memory

def export(file):
exportstring = ""
if file:
for i in range(len(file)):
for e in range(len(file[i])):
exportstring += file[i][e]
exportstring += "%"
pygame.scrap.put_text(exportstring)
return True
else:
return False
# def export(file):
# exportstring = ""
# if file:
# for i in range(len(file)):
# for e in range(len(file[i])):
# exportstring += file[i][e]
# exportstring += "%"
# pygame.scrap.put_text(exportstring)
# return True
# else:
# return False



Expand Down Expand Up @@ -386,7 +386,7 @@ def personanimation(panim_index, panim_surface, panim):
for event in pygame.event.get():
if event.type == pygame.QUIT:

export(entry)
# export(entry)
pygame.quit()
exit()

Expand Down
Binary file modified nughm.github.io.apk
Binary file not shown.

0 comments on commit a7b9edd

Please sign in to comment.