Snail Bet banner

Snail Bet

1 devlog
4h 19m 11s

🐌 Snail Bet

  1. Introduction

    The name of the project is "Snail Bet".

    This terminal game project was written in Python by me.

    I created this to practice game logic beyond simple tutorials.

  2. Game Logic

    The player bet…

🐌 Snail Bet

  1. Introduction

    The name of the project is “Snail Bet”.

    This terminal game project was written in Python by me.

    I created this to practice game logic beyond simple tutorials.

  2. Game Logic

    The player bets on different silly snails.

    The speed of the snails is randomized, so it changes every time you run the game.

    During the race, random events happen: “Mud” slows the snails down, while “Nitro” boosts their speed for a short time.

  3. Features

    Persistence: To save your balance, I added a function that automatically creates a JSON file when you run the game.

    Snail Bank: If the player loses all their money, the “Snail Bank” grants them a 500-coin loan.

    Appearance: For a better visual experience in the terminal, I used the colorama library.

  4. Setup

    Install the libraries from the requirements.txt file and run snails.py.

Demo Repository

Loading README...

jamallyemin

Shipped this project!

i built a terminal-based snail racing game where you can bet on different snails. the hardest part was definitely figuring out the json storage to keep the player’s balance saved, but it was worth it. also added some cool telemetry at the end of each race to show the snails’ speeds. pretty happy with my first ship!

jamallyemin

i spent around 4 hours building this terminal based snail racing game. started with the basic movement logic using python’s random library, then moved on to the betting system to make it interactive. the hardest part was getting the json storage to work correctly so the player’s balance actually saves after closing the terminal. i also used colorama to make the snail tracks look better and added some ‘nitro’ events to make the races unpredictable. really happy with how it turned out for my first project.

Attachment
0