diff --git a/Jan IT-Club Thing/dvd.py b/Jan IT-Club Thing/dvd.py new file mode 100644 index 0000000..8cf8abc --- /dev/null +++ b/Jan IT-Club Thing/dvd.py @@ -0,0 +1,57 @@ +import pygame +import random +import os +import sys +import time + +pygame.init() +screen = pygame.display.set_mode((1920, 1080)) +pygame.display.set_caption("Simple Pygame Example") +clock = pygame.time.Clock() +font = pygame.font.SysFont(None, 55) +WHITE = (255, 255, 255) + +x = 20 +y = 20 +xbool = False +ybool = False + +toWrite = "Drugs" + +while True: + for event in pygame.event.get(): + if event.type == pygame.QUIT: + pygame.quit() + sys.exit() + + screen.fill((0, 0, 0)) + text = font.render(toWrite, True, WHITE) + screen.blit(text, (x, y)) + + text_width, text_height = font.size(toWrite) + + pygame.display.flip() + clock.tick(60) + if x > (screen.get_width() - text_width) or xbool: + x = x - 1 + xbool = True + else: + x = x + 1 + xbool = False + + + if y > (screen.get_height() - text_height) or ybool: + y = y - 1 + ybool = True + else: + y = y + 1 + ybool = False + + if y < 0: + y = 0 + ybool = False + if x < 0: + x = 0 + xbool = False + print(x, y) + time.sleep(0.01) \ No newline at end of file diff --git a/Jan IT-Club Thing/main.py b/Jan IT-Club Thing/main.py new file mode 100644 index 0000000..811174d --- /dev/null +++ b/Jan IT-Club Thing/main.py @@ -0,0 +1,172 @@ +import pygame +import random +import os +import sys +import time + +pygame.init() +screen = pygame.display.set_mode((1920, 1080)) +pygame.display.set_caption("pong") +clock = pygame.time.Clock() +font = pygame.font.SysFont(None, 55) +WHITE = (255, 255, 255) + +pongSizeX, pongSizeY = font.size("pong") + +x = screen.get_width() // 2 +y = screen.get_height() // 2 + +pY = screen.get_height() // 2 +pX = 1920 - 50 + +aiY = screen.get_height() // 2 + +playerPoints = 0 +aiPoints = 0 + + +if random.randint(0, 1) == 0: + xbool = True +else: + xbool = False +if random.randint(0, 1) == 0: + ybool = True +else: + ybool = False + +rect_width = 10 +rect_height = 10 + +menu = True +while menu: + for event in pygame.event.get(): + if event.type == pygame.QUIT: + pygame.quit() + sys.exit() + screen.fill((0, 0, 0)) + text = font.render("Press SPACE to start or Press D to select Ai Diffclty", True, WHITE) + screen.blit(text, ((screen.get_width() // 2) - (text.get_width() // 2), (screen.get_height() // 2) - (text.get_height() // 2))) + pygame.display.flip() + if pygame.key.get_pressed()[pygame.K_SPACE]: + menu = False + elif pygame.key.get_pressed()[pygame.K_d]: + diffMenu = True + while diffMenu: + for event in pygame.event.get(): + if event.type == pygame.QUIT: + pygame.quit() + sys.exit() + screen.fill((0, 0, 0)) + text = font.render("Press 1 for Easy, 2 for Medium, 3 for Hard", True, WHITE) + screen.blit(text, ((screen.get_width() // 2) - (text.get_width() // 2), (screen.get_height() // 2) - (text.get_height() // 2))) + pygame.display.flip() + if pygame.key.get_pressed()[pygame.K_1]: + aiSpeed = 0.3 + diffMenu = False + elif pygame.key.get_pressed()[pygame.K_2]: + aiSpeed = 0.4 + diffMenu = False + elif pygame.key.get_pressed()[pygame.K_3]: + aiSpeed = 0.7 + diffMenu = False + clock.tick(60) + + + + + + + + + + +while True: + for event in pygame.event.get(): + if event.type == pygame.QUIT: + pygame.quit() + sys.exit() + screen.fill((0, 0, 0)) + + text = font.render("pong", True, WHITE) + pPointsText = font.render(str(playerPoints), True, WHITE) + aiPointsText = font.render(str(aiPoints), True, WHITE) + + screen.blit(pPointsText, (screen.get_width() - pPointsText.get_width() - 20, 0)) + screen.blit(aiPointsText, (20, 0)) + screen.blit(text, ((screen.get_width() // 2) - pongSizeX, 0)) + + player_paddle = pygame.Rect(pX, pY, 20, 100) + ai_paddle = pygame.Rect(30, aiY, 20, 100) + ball = pygame.Rect(x, y, rect_width, rect_height) + + pygame.draw.rect(screen, WHITE, ball) + pygame.draw.rect(screen, WHITE, player_paddle) + pygame.draw.rect(screen, WHITE, ai_paddle) + pygame.display.flip() + + # Ball movement logic and player/AI paddle movement + if x > (screen.get_width() - rect_width) or ball.colliderect(player_paddle): + xbool = True + elif x < 0 or ball.colliderect(ai_paddle): + xbool = False + + if xbool: + x = x - 0.5 + else: + x = x + 0.5 + + + if y > (screen.get_height() - rect_height) or ybool: + y = y - 0.5 + ybool = True + else: + y = y + 0.5 + ybool = False + + if y < 0: + y = 0 + ybool = False + if x < 0: + x = 0 + xbool = False + + if ai_paddle.centery < ball.centery: + aiY = aiY + aiSpeed + elif ai_paddle.centery > ball.centery: + aiY = aiY - aiSpeed + + if pygame.key.get_pressed()[pygame.K_ESCAPE]: + pygame.quit() + sys.exit() + elif pygame.key.get_pressed()[pygame.K_DOWN] and pY + 100 < screen.get_height() - 10: + pY += 1 + elif pygame.key.get_pressed()[pygame.K_UP] and pY - 10 > 0: + pY -= 1 + + # points logic + if x <= 0: + playerPoints += 1 + x = screen.get_width() // 2 + y = screen.get_height() // 2 + if random.randint(0, 1) == 0: + xbool = True + else: + xbool = False + if random.randint(0, 1) == 0: + ybool = True + else: + ybool = False + elif x >= screen.get_width() - 30: + aiPoints += 1 + x = screen.get_width() // 2 + y = screen.get_height() // 2 + if random.randint(0, 1) == 0: + xbool = True + else: + xbool = False + if random.randint(0, 1) == 0: + ybool = True + else: + ybool = False + + \ No newline at end of file diff --git a/httpTest.py b/Stock game/httpTest.py similarity index 100% rename from httpTest.py rename to Stock game/httpTest.py diff --git a/leaderboard.json b/Stock game/leaderboard.json similarity index 100% rename from leaderboard.json rename to Stock game/leaderboard.json diff --git a/mainweb.py b/Stock game/mainweb.py similarity index 100% rename from mainweb.py rename to Stock game/mainweb.py diff --git a/static/game.js b/Stock game/static/game.js similarity index 100% rename from static/game.js rename to Stock game/static/game.js diff --git a/static/style.css b/Stock game/static/style.css similarity index 100% rename from static/style.css rename to Stock game/static/style.css diff --git a/templates/index.html b/Stock game/templates/index.html similarity index 100% rename from templates/index.html rename to Stock game/templates/index.html diff --git a/Stock game/tradeLog.txt b/Stock game/tradeLog.txt new file mode 100644 index 0000000..f5d9ccd --- /dev/null +++ b/Stock game/tradeLog.txt @@ -0,0 +1,546 @@ +Game started! +Balance: $1000 + +Cheapest stock: Kwik trip at $50 +Bought 20 shares of Kwik trip + +--- Day 2 --- +Cheapest stock now: Microsoft at $1 +Different stock is cheaper! Switching... +Sold 20 shares +Balance: $2240 +Bought 2240 shares of Microsoft + +--- Day 3 --- +Cheapest stock now: Microsoft at $1 +Same stock is still cheapest, holding position. + +--- Day 4 --- +Cheapest stock now: Apple computers at $1 +Different stock is cheaper! Switching... +Sold 2240 shares +Balance: $2240 +Bought 2240 shares of Apple computers + +--- Day 5 --- +Cheapest stock now: Car company at $1 +Different stock is cheaper! Switching... +Sold 2240 shares +Balance: $224000 +Bought 224000 shares of Car company + +--- Day 6 --- +Cheapest stock now: Netflix at $1 +Different stock is cheaper! Switching... +Sold 224000 shares +Balance: $5152000 +Bought 5152000 shares of Netflix + +--- Day 7 --- +Cheapest stock now: Microsoft at $1 +Different stock is cheaper! Switching... +Sold 5152000 shares +Balance: $288512000 +Bought 288512000 shares of Microsoft + +--- Day 8 --- +Cheapest stock now: Amazon at $1 +Different stock is cheaper! Switching... +Sold 288512000 shares +Balance: $26831616000 +Bought 26831616000 shares of Amazon + +--- Day 9 --- +Cheapest stock now: Amazon at $1 +Same stock is still cheapest, holding position. + +--- Day 10 --- +Cheapest stock now: Amazon at $1 +Same stock is still cheapest, holding position. + +--- Day 11 --- +Cheapest stock now: Netflix at $1 +Different stock is cheaper! Switching... +Sold 26831616000 shares +Balance: $2441677056000 +Bought 2441677056000 shares of Netflix + +--- Day 12 --- +Cheapest stock now: Netflix at $1 +Same stock is still cheapest, holding position. + +--- Day 13 --- +Cheapest stock now: Google at $1 +Different stock is cheaper! Switching... +Sold 2441677056000 shares +Balance: $2441677056000 +Bought 2441677056000 shares of Google + +--- Day 14 --- +Cheapest stock now: Netflix at $1 +Different stock is cheaper! Switching... +Sold 2441677056000 shares +Balance: $107433790464000 +Bought 107433790464000 shares of Netflix + +--- Day 15 --- +Cheapest stock now: Netflix at $1 +Same stock is still cheapest, holding position. + +--- Day 16 --- +Cheapest stock now: Netflix at $1 +Same stock is still cheapest, holding position. + +--- Day 17 --- +Cheapest stock now: Microsoft at $1 +Different stock is cheaper! Switching... +Sold 107433790464000 shares +Balance: $107433790464000 +Bought 107433790464000 shares of Microsoft + +--- Day 18 --- +Cheapest stock now: Microsoft at $1 +Same stock is still cheapest, holding position. + +--- Day 19 --- +Cheapest stock now: Apple computers at $30 +Different stock is cheaper! Switching... +Sold 107433790464000 shares +Balance: $4082484037632000 +Bought 136082801254400 shares of Apple computers + +--- Day 20 --- +Cheapest stock now: Amazon at $31 +Different stock is cheaper! Switching... +Sold 136082801254400 shares +Balance: $6259808857702400 +Bought 201929317990400 shares of Amazon + +--- Day 21 --- +Cheapest stock now: Amazon at $22 +Same stock is still cheapest, holding position. + +--- Day 22 --- +Cheapest stock now: Microsoft at $24 +Different stock is cheaper! Switching... +Sold 201929317990400 shares +Balance: $18577497255116800 +Bought 774062385629866 shares of Microsoft + +--- Day 23 --- +Cheapest stock now: Microsoft at $66 +Same stock is still cheapest, holding position. + +--- Day 24 --- +Cheapest stock now: Microsoft at $54 +Same stock is still cheapest, holding position. + +--- Day 25 --- +Cheapest stock now: Microsoft at $1 +Same stock is still cheapest, holding position. + +--- Day 26 --- +Cheapest stock now: Apple computers at $44 +Different stock is cheaper! Switching... +Sold 774062385629866 shares +Balance: $64247178007278894 +Bought 1460163136529065 shares of Apple computers + +--- Day 27 --- +Cheapest stock now: Apple computers at $1 +Same stock is still cheapest, holding position. + +--- Day 28 --- +Cheapest stock now: Amazon at $1 +Different stock is cheaper! Switching... +Sold 1460163136529065 shares +Balance: $73008156826453284 +Bought 73008156826453284 shares of Amazon + +--- Day 29 --- +Cheapest stock now: Apple computers at $1 +Different stock is cheaper! Switching... +Sold 73008156826453284 shares +Balance: $73008156826453284 +Bought 73008156826453284 shares of Apple computers + +--- Day 30 --- +Cheapest stock now: Apple computers at $1 +Same stock is still cheapest, holding position. + +--- Day 31 --- +Cheapest stock now: Microsoft at $1 +Different stock is cheaper! Switching... +Sold 73008156826453284 shares +Balance: $4234473095934290472 +Bought 4234473095934290472 shares of Microsoft + +--- Day 32 --- +Cheapest stock now: Microsoft at $1 +Same stock is still cheapest, holding position. + +--- Day 33 --- +Cheapest stock now: Microsoft at $1 +Same stock is still cheapest, holding position. + +--- Day 34 --- +Cheapest stock now: Microsoft at $19 +Same stock is still cheapest, holding position. + +--- Day 35 --- +Cheapest stock now: Microsoft at $1 +Same stock is still cheapest, holding position. + +--- Day 36 --- +Cheapest stock now: Car company at $1 +Different stock is cheaper! Switching... +Sold 4234473095934290472 shares +Balance: $203254708604845942656 +Bought 203254708604845942656 shares of Car company + +--- Day 37 --- +Cheapest stock now: Car company at $1 +Same stock is still cheapest, holding position. + +--- Day 38 --- +Cheapest stock now: Car company at $1 +Same stock is still cheapest, holding position. + +--- Day 39 --- +Cheapest stock now: Microsoft at $1 +Different stock is cheaper! Switching... +Sold 203254708604845942656 shares +Balance: $203254708604845942656 +Bought 203254708604845942656 shares of Microsoft + +--- Day 40 --- +Cheapest stock now: Microsoft at $20 +Same stock is still cheapest, holding position. + +--- Day 41 --- +Cheapest stock now: Microsoft at $1 +Same stock is still cheapest, holding position. + +--- Day 42 --- +Cheapest stock now: Microsoft at $69 +Same stock is still cheapest, holding position. + +--- Day 43 --- +Cheapest stock now: Google at $20 +Different stock is cheaper! Switching... +Sold 203254708604845942656 shares +Balance: $4268348880701764795776 +Bought 213417444035088239788 shares of Google + +--- Day 44 --- +Cheapest stock now: Microsoft at $1 +Different stock is cheaper! Switching... +Sold 213417444035088239788 shares +Balance: $11311124533859676708780 +Bought 11311124533859676708780 shares of Microsoft + +--- Day 45 --- +Cheapest stock now: Microsoft at $1 +Same stock is still cheapest, holding position. + +--- Day 46 --- +Cheapest stock now: Microsoft at $1 +Same stock is still cheapest, holding position. + +--- Day 47 --- +Cheapest stock now: Microsoft at $1 +Same stock is still cheapest, holding position. + +--- Day 48 --- +Cheapest stock now: Microsoft at $1 +Same stock is still cheapest, holding position. + +--- Day 49 --- +Cheapest stock now: Microsoft at $1 +Same stock is still cheapest, holding position. + +--- Day 50 --- +Cheapest stock now: Microsoft at $1 +Same stock is still cheapest, holding position. + +--- Day 51 --- +Cheapest stock now: Car company at $30 +Different stock is cheaper! Switching... +Sold 11311124533859676708780 shares +Balance: $1119801328852107994169220 +Bought 37326710961736933138974 shares of Car company + +--- Day 52 --- +Cheapest stock now: Car company at $1 +Same stock is still cheapest, holding position. + +--- Day 53 --- +Cheapest stock now: Microsoft at $1 +Different stock is cheaper! Switching... +Sold 37326710961736933138974 shares +Balance: $37326710961736933138974 +Bought 37326710961736933138974 shares of Microsoft + +--- Day 54 --- +Cheapest stock now: Car company at $1 +Different stock is cheaper! Switching... +Sold 37326710961736933138974 shares +Balance: $447920531540843197667688 +Bought 447920531540843197667688 shares of Car company + +--- Day 55 --- +Cheapest stock now: Apple computers at $1 +Different stock is cheaper! Switching... +Sold 447920531540843197667688 shares +Balance: $447920531540843197667688 +Bought 447920531540843197667688 shares of Apple computers + +--- Day 56 --- +Cheapest stock now: Microsoft at $1 +Different stock is cheaper! Switching... +Sold 447920531540843197667688 shares +Balance: $24635629234746375871722840 +Bought 24635629234746375871722840 shares of Microsoft + +--- Day 57 --- +Cheapest stock now: Microsoft at $1 +Same stock is still cheapest, holding position. + +--- Day 58 --- +Cheapest stock now: Microsoft at $1 +Same stock is still cheapest, holding position. + +--- Day 59 --- +Cheapest stock now: Microsoft at $1 +Same stock is still cheapest, holding position. + +--- Day 60 --- +Cheapest stock now: Apple computers at $1 +Different stock is cheaper! Switching... +Sold 24635629234746375871722840 shares +Balance: $24635629234746375871722840 +Bought 24635629234746375871722840 shares of Apple computers + +--- Day 61 --- +Cheapest stock now: Apple computers at $1 +Same stock is still cheapest, holding position. + +--- Day 62 --- +Cheapest stock now: Apple computers at $1 +Same stock is still cheapest, holding position. + +--- Day 63 --- +Cheapest stock now: Microsoft at $1 +Different stock is cheaper! Switching... +Sold 24635629234746375871722840 shares +Balance: $270991921582210134588951240 +Bought 270991921582210134588951240 shares of Microsoft + +--- Day 64 --- +Cheapest stock now: Microsoft at $1 +Same stock is still cheapest, holding position. + +--- Day 65 --- +Cheapest stock now: Apple computers at $1 +Different stock is cheaper! Switching... +Sold 270991921582210134588951240 shares +Balance: $15446539530185977671570220680 +Bought 15446539530185977671570220680 shares of Apple computers + +--- Day 66 --- +Cheapest stock now: Google at $1 +Different stock is cheaper! Switching... +Sold 15446539530185977671570220680 shares +Balance: $880452753220600727279502578760 +Bought 880452753220600727279502578760 shares of Google + +--- Day 67 --- +Cheapest stock now: Apple computers at $1 +Different stock is cheaper! Switching... +Sold 880452753220600727279502578760 shares +Balance: $880452753220600727279502578760 +Bought 880452753220600727279502578760 shares of Apple computers + +--- Day 68 --- +Cheapest stock now: Microsoft at $1 +Different stock is cheaper! Switching... +Sold 880452753220600727279502578760 shares +Balance: $11445885791867809454633533523880 +Bought 11445885791867809454633533523880 shares of Microsoft + +--- Day 69 --- +Cheapest stock now: Apple computers at $1 +Different stock is cheaper! Switching... +Sold 11445885791867809454633533523880 shares +Balance: $824103777014482280733614413719360 +Bought 824103777014482280733614413719360 shares of Apple computers + +--- Day 70 --- +Cheapest stock now: Apple computers at $1 +Same stock is still cheapest, holding position. + +--- Day 71 --- +Cheapest stock now: Car company at $1 +Different stock is cheaper! Switching... +Sold 824103777014482280733614413719360 shares +Balance: $33788254857593773510078190962493760 +Bought 33788254857593773510078190962493760 shares of Car company + +--- Day 72 --- +Cheapest stock now: Car company at $1 +Same stock is still cheapest, holding position. + +--- Day 73 --- +Cheapest stock now: Microsoft at $1 +Different stock is cheaper! Switching... +Sold 33788254857593773510078190962493760 shares +Balance: $33788254857593773510078190962493760 +Bought 33788254857593773510078190962493760 shares of Microsoft + +--- Day 74 --- +Cheapest stock now: Microsoft at $1 +Same stock is still cheapest, holding position. + +--- Day 75 --- +Cheapest stock now: Microsoft at $1 +Same stock is still cheapest, holding position. + +--- Day 76 --- +Cheapest stock now: Microsoft at $1 +Same stock is still cheapest, holding position. + +--- Day 77 --- +Cheapest stock now: Microsoft at $11 +Same stock is still cheapest, holding position. + +--- Day 78 --- +Cheapest stock now: Microsoft at $1 +Same stock is still cheapest, holding position. + +--- Day 79 --- +Cheapest stock now: Car company at $18 +Different stock is cheaper! Switching... +Sold 33788254857593773510078190962493760 shares +Balance: $2534119114319533013255864322187032000 +Bought 140784395239974056291992462343724000 shares of Car company + +--- Day 80 --- +Cheapest stock now: Car company at $1 +Same stock is still cheapest, holding position. + +--- Day 81 --- +Cheapest stock now: Car company at $37 +Same stock is still cheapest, holding position. + +--- Day 82 --- +Cheapest stock now: Car company at $42 +Same stock is still cheapest, holding position. + +--- Day 83 --- +Cheapest stock now: Microsoft at $66 +Different stock is cheaper! Switching... +Sold 140784395239974056291992462343724000 shares +Balance: $19569030938356393824586952265777636000 +Bought 296500468762975664008893216148146000 shares of Microsoft + +--- Day 84 --- +Cheapest stock now: Microsoft at $1 +Same stock is still cheapest, holding position. + +--- Day 85 --- +Cheapest stock now: Microsoft at $64 +Same stock is still cheapest, holding position. + +--- Day 86 --- +Cheapest stock now: Car company at $109 +Different stock is cheaper! Switching... +Sold 296500468762975664008893216148146000 shares +Balance: $45068071251972300929351768854518192000 +Bought 413468543596076155315153842702001761 shares of Car company + +--- Day 87 --- +Cheapest stock now: Car company at $27 +Same stock is still cheapest, holding position. + +--- Day 88 --- +Cheapest stock now: Car company at $1 +Same stock is still cheapest, holding position. + +--- Day 89 --- +Cheapest stock now: Car company at $1 +Same stock is still cheapest, holding position. + +--- Day 90 --- +Cheapest stock now: Car company at $1 +Same stock is still cheapest, holding position. + +--- Day 91 --- +Cheapest stock now: Microsoft at $78 +Different stock is cheaper! Switching... +Sold 413468543596076155315153842702001761 shares +Balance: $40933385816011539376200230427498174390 +Bought 524786997641173581746156800352540697 shares of Microsoft + +--- Day 92 --- +Cheapest stock now: Microsoft at $46 +Same stock is still cheapest, holding position. + +--- Day 93 --- +Cheapest stock now: Car company at $13 +Different stock is cheaper! Switching... +Sold 524786997641173581746156800352540697 shares +Balance: $74519753665046648607954265650060778998 +Bought 5732288743465126815996481973081598384 shares of Car company + +--- Day 94 --- +Cheapest stock now: Microsoft at $71 +Different stock is cheaper! Switching... +Sold 5732288743465126815996481973081598384 shares +Balance: $429921655759884511199736147981119878806 +Bought 6055234588167387481686424619452392659 shares of Microsoft + +--- Day 95 --- +Cheapest stock now: Car company at $37 +Different stock is cheaper! Switching... +Sold 6055234588167387481686424619452392659 shares +Balance: $538915878346897485870091791131262946668 +Bought 14565294009375607726218697057601701261 shares of Car company + +--- Day 96 --- +Cheapest stock now: Car company at $1 +Same stock is still cheapest, holding position. + +--- Day 97 --- +Cheapest stock now: Microsoft at $1 +Different stock is cheaper! Switching... +Sold 14565294009375607726218697057601701261 shares +Balance: $14565294009375607726218697057601701272 +Bought 14565294009375607726218697057601701272 shares of Microsoft + +--- Day 98 --- +Cheapest stock now: Car company at $1 +Different stock is cheaper! Switching... +Sold 14565294009375607726218697057601701272 shares +Balance: $903048228581287679025559217571305478864 +Bought 903048228581287679025559217571305478864 shares of Car company + +--- Day 99 --- +Cheapest stock now: Car company at $33 +Same stock is still cheapest, holding position. + +--- Day 100 --- +Cheapest stock now: Car company at $37 +Same stock is still cheapest, holding position. + +--- Day 101 --- +Cheapest stock now: Car company at $51 +Same stock is still cheapest, holding position. + +=== GAME OVER - SELLING ALL === +Sold 903048228581287679025559217571305478864 shares of Car company + +=== FINAL RESULTS === +Starting balance: $1000 +Ending balance: $46055459657645671630303520096136579422064 +Profit: $46055459657645671630303520096136579421064 +Score saved successfully! diff --git a/tradeLog.txt b/tradeLog.txt deleted file mode 100644 index 22d14ab..0000000 --- a/tradeLog.txt +++ /dev/null @@ -1,495 +0,0 @@ -Game started! -Balance: $1000 - -Cheapest stock: Kwik trip at $50 -Bought 20 shares of Kwik trip - ---- Day 2 --- -Cheapest stock now: Apple computers at $1 -Different stock is cheaper! Switching... -Sold 20 shares -Balance: $160 -Bought 160 shares of Apple computers - ---- Day 3 --- -Cheapest stock now: Microsoft at $1 -Different stock is cheaper! Switching... -Sold 160 shares -Balance: $10560 -Bought 10560 shares of Microsoft - ---- Day 4 --- -Cheapest stock now: Apple computers at $1 -Different stock is cheaper! Switching... -Sold 10560 shares -Balance: $348480 -Bought 348480 shares of Apple computers - ---- Day 5 --- -Cheapest stock now: Microsoft at $1 -Different stock is cheaper! Switching... -Sold 348480 shares -Balance: $28226880 -Bought 28226880 shares of Microsoft - ---- Day 6 --- -Cheapest stock now: Netflix at $1 -Different stock is cheaper! Switching... -Sold 28226880 shares -Balance: $649218240 -Bought 649218240 shares of Netflix - ---- Day 7 --- -Cheapest stock now: Microsoft at $1 -Different stock is cheaper! Switching... -Sold 649218240 shares -Balance: $649218240 -Bought 649218240 shares of Microsoft - ---- Day 8 --- -Cheapest stock now: Microsoft at $1 -Same stock is still cheapest, holding position. - ---- Day 9 --- -Cheapest stock now: Google at $1 -Different stock is cheaper! Switching... -Sold 649218240 shares -Balance: $43497622080 -Bought 43497622080 shares of Google - ---- Day 10 --- -Cheapest stock now: Google at $1 -Same stock is still cheapest, holding position. - ---- Day 11 --- -Cheapest stock now: Google at $7 -Same stock is still cheapest, holding position. - ---- Day 12 --- -Cheapest stock now: Car company at $1 -Different stock is cheaper! Switching... -Sold 43497622080 shares -Balance: $3131828789760 -Bought 3131828789760 shares of Car company - ---- Day 13 --- -Cheapest stock now: Car company at $14 -Same stock is still cheapest, holding position. - ---- Day 14 --- -Cheapest stock now: Car company at $1 -Same stock is still cheapest, holding position. - ---- Day 15 --- -Cheapest stock now: Car company at $9 -Same stock is still cheapest, holding position. - ---- Day 16 --- -Cheapest stock now: Car company at $1 -Same stock is still cheapest, holding position. - ---- Day 17 --- -Cheapest stock now: Car company at $1 -Same stock is still cheapest, holding position. - ---- Day 18 --- -Cheapest stock now: Google at $38 -Different stock is cheaper! Switching... -Sold 3131828789760 shares -Balance: $169118754647040 -Bought 4450493543343 shares of Google - ---- Day 19 --- -Cheapest stock now: Google at $30 -Same stock is still cheapest, holding position. - ---- Day 20 --- -Cheapest stock now: Google at $1 -Same stock is still cheapest, holding position. - ---- Day 21 --- -Cheapest stock now: Google at $56 -Same stock is still cheapest, holding position. - ---- Day 22 --- -Cheapest stock now: Microsoft at $12 -Different stock is cheaper! Switching... -Sold 4450493543343 shares -Balance: $431697873704277 -Bought 35974822808689 shares of Microsoft - ---- Day 23 --- -Cheapest stock now: Microsoft at $16 -Same stock is still cheapest, holding position. - ---- Day 24 --- -Cheapest stock now: Nvidia at $41 -Different stock is cheaper! Switching... -Sold 35974822808689 shares -Balance: $4173079445807933 -Bought 101782425507510 shares of Nvidia - ---- Day 25 --- -Cheapest stock now: Nvidia at $104 -Same stock is still cheapest, holding position. - ---- Day 26 --- -Cheapest stock now: Car company at $78 -Different stock is cheaper! Switching... -Sold 101782425507510 shares -Balance: $14453104422066443 -Bought 185296210539313 shares of Car company - ---- Day 27 --- -Cheapest stock now: Tesla at $63 -Different stock is cheaper! Switching... -Sold 185296210539313 shares -Balance: $17973732422313390 -Bought 285297340036720 shares of Tesla - ---- Day 28 --- -Cheapest stock now: Tesla at $35 -Same stock is still cheapest, holding position. - ---- Day 29 --- -Cheapest stock now: Car company at $32 -Different stock is cheaper! Switching... -Sold 285297340036720 shares -Balance: $27388544643525150 -Bought 855892020110160 shares of Car company - ---- Day 30 --- -Cheapest stock now: Car company at $5 -Same stock is still cheapest, holding position. - ---- Day 31 --- -Cheapest stock now: Car company at $1 -Same stock is still cheapest, holding position. - ---- Day 32 --- -Cheapest stock now: Tesla at $1 -Different stock is cheaper! Switching... -Sold 855892020110160 shares -Balance: $57344765347380750 -Bought 57344765347380750 shares of Tesla - ---- Day 33 --- -Cheapest stock now: Tesla at $1 -Same stock is still cheapest, holding position. - ---- Day 34 --- -Cheapest stock now: Tesla at $32 -Same stock is still cheapest, holding position. - ---- Day 35 --- -Cheapest stock now: Tesla at $1 -Same stock is still cheapest, holding position. - ---- Day 36 --- -Cheapest stock now: Tesla at $86 -Same stock is still cheapest, holding position. - ---- Day 37 --- -Cheapest stock now: Car company at $15 -Different stock is cheaper! Switching... -Sold 57344765347380750 shares -Balance: $6307924188211882500 -Bought 420528279214125500 shares of Car company - ---- Day 38 --- -Cheapest stock now: Car company at $6 -Same stock is still cheapest, holding position. - ---- Day 39 --- -Cheapest stock now: Car company at $1 -Same stock is still cheapest, holding position. - ---- Day 40 --- -Cheapest stock now: Car company at $1 -Same stock is still cheapest, holding position. - ---- Day 41 --- -Cheapest stock now: Car company at $26 -Same stock is still cheapest, holding position. - ---- Day 42 --- -Cheapest stock now: Car company at $114 -Same stock is still cheapest, holding position. - ---- Day 43 --- -Cheapest stock now: Netflix at $184 -Different stock is cheaper! Switching... -Sold 420528279214125500 shares -Balance: $85787768959681602000 -Bought 466237874780878271 shares of Netflix - ---- Day 44 --- -Cheapest stock now: Netflix at $100 -Same stock is still cheapest, holding position. - ---- Day 45 --- -Cheapest stock now: Netflix at $81 -Same stock is still cheapest, holding position. - ---- Day 46 --- -Cheapest stock now: Netflix at $1 -Same stock is still cheapest, holding position. - ---- Day 47 --- -Cheapest stock now: Car company at $74 -Different stock is cheaper! Switching... -Sold 466237874780878271 shares -Balance: $45691311728526070694 -Bought 617450158493595549 shares of Car company - ---- Day 48 --- -Cheapest stock now: Car company at $10 -Same stock is still cheapest, holding position. - ---- Day 49 --- -Cheapest stock now: Car company at $1 -Same stock is still cheapest, holding position. - ---- Day 50 --- -Cheapest stock now: Netflix at $1 -Different stock is cheaper! Switching... -Sold 617450158493595549 shares -Balance: $61745015849359554968 -Bought 61745015849359554968 shares of Netflix - ---- Day 51 --- -Cheapest stock now: Netflix at $1 -Same stock is still cheapest, holding position. - ---- Day 52 --- -Cheapest stock now: Car company at $1 -Different stock is cheaper! Switching... -Sold 61745015849359554968 shares -Balance: $61745015849359554968 -Bought 61745015849359554968 shares of Car company - ---- Day 53 --- -Cheapest stock now: Car company at $1 -Same stock is still cheapest, holding position. - ---- Day 54 --- -Cheapest stock now: Car company at $1 -Same stock is still cheapest, holding position. - ---- Day 55 --- -Cheapest stock now: Car company at $1 -Same stock is still cheapest, holding position. - ---- Day 56 --- -Cheapest stock now: Car company at $99 -Same stock is still cheapest, holding position. - ---- Day 57 --- -Cheapest stock now: Car company at $33 -Same stock is still cheapest, holding position. - ---- Day 58 --- -Cheapest stock now: Car company at $36 -Same stock is still cheapest, holding position. - ---- Day 59 --- -Cheapest stock now: Car company at $38 -Same stock is still cheapest, holding position. - ---- Day 60 --- -Cheapest stock now: Car company at $1 -Same stock is still cheapest, holding position. - ---- Day 61 --- -Cheapest stock now: Car company at $1 -Same stock is still cheapest, holding position. - ---- Day 62 --- -Cheapest stock now: Car company at $17 -Same stock is still cheapest, holding position. - ---- Day 63 --- -Cheapest stock now: Car company at $73 -Same stock is still cheapest, holding position. - ---- Day 64 --- -Cheapest stock now: Car company at $45 -Same stock is still cheapest, holding position. - ---- Day 65 --- -Cheapest stock now: Car company at $98 -Same stock is still cheapest, holding position. - ---- Day 66 --- -Cheapest stock now: Car company at $31 -Same stock is still cheapest, holding position. - ---- Day 67 --- -Cheapest stock now: Car company at $42 -Same stock is still cheapest, holding position. - ---- Day 68 --- -Cheapest stock now: Car company at $71 -Same stock is still cheapest, holding position. - ---- Day 69 --- -Cheapest stock now: Car company at $158 -Same stock is still cheapest, holding position. - ---- Day 70 --- -Cheapest stock now: Steam at $231 -Different stock is cheaper! Switching... -Sold 61745015849359554968 shares -Balance: $15374508946490529187032 -Bought 66556315785673286523 shares of Steam - ---- Day 71 --- -Cheapest stock now: Steam at $154 -Same stock is still cheapest, holding position. - ---- Day 72 --- -Cheapest stock now: Google at $177 -Different stock is cheaper! Switching... -Sold 66556315785673286523 shares -Balance: $15640734209633222333124 -Bought 88365729997927809791 shares of Google - ---- Day 73 --- -Cheapest stock now: Google at $251 -Same stock is still cheapest, holding position. - ---- Day 74 --- -Cheapest stock now: Google at $195 -Same stock is still cheapest, holding position. - ---- Day 75 --- -Cheapest stock now: Google at $217 -Same stock is still cheapest, holding position. - ---- Day 76 --- -Cheapest stock now: Google at $125 -Same stock is still cheapest, holding position. - ---- Day 77 --- -Cheapest stock now: Google at $52 -Same stock is still cheapest, holding position. - ---- Day 78 --- -Cheapest stock now: Google at $37 -Same stock is still cheapest, holding position. - ---- Day 79 --- -Cheapest stock now: Google at $1 -Same stock is still cheapest, holding position. - ---- Day 80 --- -Cheapest stock now: Google at $1 -Same stock is still cheapest, holding position. - ---- Day 81 --- -Cheapest stock now: Google at $1 -Same stock is still cheapest, holding position. - ---- Day 82 --- -Cheapest stock now: Google at $34 -Same stock is still cheapest, holding position. - ---- Day 83 --- -Cheapest stock now: Google at $1 -Same stock is still cheapest, holding position. - ---- Day 84 --- -Cheapest stock now: Google at $1 -Same stock is still cheapest, holding position. - ---- Day 85 --- -Cheapest stock now: Google at $10 -Same stock is still cheapest, holding position. - ---- Day 86 --- -Cheapest stock now: Google at $44 -Same stock is still cheapest, holding position. - ---- Day 87 --- -Cheapest stock now: Google at $131 -Same stock is still cheapest, holding position. - ---- Day 88 --- -Cheapest stock now: Google at $139 -Same stock is still cheapest, holding position. - ---- Day 89 --- -Cheapest stock now: Steam at $180 -Different stock is cheaper! Switching... -Sold 88365729997927809791 shares -Balance: $19617192059539973773719 -Bought 108984400330777632076 shares of Steam - ---- Day 90 --- -Cheapest stock now: Google at $125 -Different stock is cheaper! Switching... -Sold 108984400330777632076 shares -Balance: $29098834888317627764331 -Bought 232790679106541022114 shares of Google - ---- Day 91 --- -Cheapest stock now: Google at $119 -Same stock is still cheapest, holding position. - ---- Day 92 --- -Cheapest stock now: Google at $138 -Same stock is still cheapest, holding position. - ---- Day 93 --- -Cheapest stock now: Tesla at $100 -Different stock is cheaper! Switching... -Sold 232790679106541022114 shares -Balance: $37479299336153104560435 -Bought 374792993361531045604 shares of Tesla - ---- Day 94 --- -Cheapest stock now: Google at $61 -Different stock is cheaper! Switching... -Sold 374792993361531045604 shares -Balance: $71210668738690898664795 -Bought 1167388012109686863357 shares of Google - ---- Day 95 --- -Cheapest stock now: Google at $1 -Same stock is still cheapest, holding position. - ---- Day 96 --- -Cheapest stock now: Google at $39 -Same stock is still cheapest, holding position. - ---- Day 97 --- -Cheapest stock now: Tesla at $78 -Different stock is cheaper! Switching... -Sold 1167388012109686863357 shares -Balance: $150593053562149605373071 -Bought 1930680173873712889398 shares of Tesla - ---- Day 98 --- -Cheapest stock now: Tesla at $49 -Same stock is still cheapest, holding position. - ---- Day 99 --- -Cheapest stock now: Tesla at $112 -Same stock is still cheapest, holding position. - ---- Day 100 --- -Cheapest stock now: Tesla at $13 -Same stock is still cheapest, holding position. - ---- Day 101 --- -Cheapest stock now: Tesla at $60 -Same stock is still cheapest, holding position. - -=== GAME OVER - SELLING ALL === -Sold 1930680173873712889398 shares of Tesla - -=== FINAL RESULTS === -Starting balance: $1000 -Ending balance: $115840810432422773363907 -Profit: $115840810432422773362907 -Score saved successfully!