Skip to content

ezraaslan/Code-Jackpot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code Jackpot

Code Jackpot is an educational productivity tool designed to inspire a love of coding by turning focused work into a game.

Users wager fake money on themselves, write real code, and earn better odds by staying active and reducing syntax errors. At the end of a session, a slot-machine-style reward determines whether they cash out a jackpot.

This tool is meant to encourage focus, consistency, and learning — not gambling.


Purpose

Coding timers usually only track time.
Code Helper tracks effort.

It rewards:

  • Writing new lines of code
  • Fixing syntax errors
  • Staying active (AFK penalties apply)
  • Defining functions and making meaningful changes

The goal is to make learning and productivity feel engaging and fun, especially for students and beginners.


How It Works

  1. Choose a file you plan to work on
  2. Set a coding duration
  3. Wager fake money from your balance
  4. Start coding

Behind the scenes, Code Helper:

  • Monitors file changes
  • Tracks AFK time
  • Detects syntax errors
  • Adjusts your odds dynamically

At the end of the session, a slot machine rolls:

  • Win → your wager is doubled
  • Lose → wager is lost

Balances persist between sessions.


Features

  • File-based activity tracking
  • AFK detection and penalties
  • Syntax error monitoring
  • Pause / resume support
  • Slot machine reward system
  • Persistent fake-money balance

Important Notes

  • This tool uses fake money only
  • No real gambling, payments, or monetization
  • Intended for education, motivation, and experimentation
  • Best suited for learners, hobbyists, and productivity experiments

How to Run

Download the latest release and run the program from the terminal (this only works for Windows as the release is a .exe file)

OR

pip install -r requirements.txt
python helper.py

About

Code Jackpot is a fun, easy-to-use tool that make coding more like a slot machine game. Bet money on yourself and finish time goals to increase the odds that you will win big. Maintain streaks to get daily bonuses. You'll have fun and be twice as productive!

Topics

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Packages

 
 
 

Contributors