Moved shit to recycle bin etc etc

This commit is contained in:
2025-08-11 21:58:43 +10:00
parent 686e5d6617
commit 48f9389100
15 changed files with 2 additions and 13 deletions

View File

@@ -113,16 +113,6 @@ async def calculator(interaction: discord.Interaction):
calculator = Calculator()
await interaction.followup.send(content="`" + " " * calculator.MAXIMUMBARSIZE + "0`", view=calculator)
"""
#### Game Picker ####
"""
@tree.command(description="Pick a game")
async def gg(interaction: discord.Interaction):
game = pick_game()
await interaction.response.send_message(f"{game}")
@tree.command(description="Roll a Dice")
@app_commands.choices(dice = [
app_commands.Choice(name = 'd4', value=4),

View File

@@ -4,6 +4,7 @@ from Ledger import Ledger
#TODO Look into 5card jack thingo that Tim mentioned
#TODO Insurance - If dealer starts with 21, you can bet against it and win your money back
#TODO Make each game session more distinct (Embeds?)
#TODO Card counting.
# Game States
INIT = 0
@@ -345,6 +346,4 @@ def main():
if __name__ == "__main__":
main()
main()

View File

@@ -1,34 +0,0 @@
import discord
import random
# Temporary List
# games = ["Left 4 Dead 2",
# "Aragami",
# "Astroneer",
# "Factorio",
# "Borderlands",
# "Stardew Valley",
# "Viscera Cleanup Detail",
# "SCP",
# "Satisfactory",
# "Ghost Recon Wildlands"
# ]
games = ["Plate Up",
"Terraria",
"Ghost Recon"]
def add_game(game: str):
games.append(game)
def pick_game():
randomIndex = random.randrange(0, len(games))
coinFlip = random.randrange(0, 2)
if coinFlip:
return f"Valorant ({games[randomIndex]})"
else:
return games[randomIndex]