Skip to content

jakubbarak2001/Refactor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REFACTOR "Code your way out, or lose your mind trying."

REFACTOR is a dark, satirical text-based RPG set in the grim reality of Northern Bohemia. You play as a young police officer who has realized their true calling is not law enforcement, but software development.

Your mission is simple: Survive 30 days. Your goal: Refactor your life. Become a Full-Stack Developer and quit the force before the job destroys you.

🎮 Game Features 3 Core Stats to Balance:

💰 Money: You need it to survive, buy courses, and pay fines. If it hits 0, you end up homeless.

💻 Coding Skill: Your ticket out. Learn Python, solve bugs, and impress tech recruiters.

😡 PCR Hatred: A measure of your sanity. If this reaches 100%, you will suffer a mental breakdown.

30-Day Cycle: Every day brings new challenges. Manage your time between shifts, gym, therapy, and coding bootcamps.

Random Events: Deal with bureaucratic disasters, "sovereign citizens," broken printers, and corruption. Your choices matter.

Multiple Endings: Will you escape to a tech startup? Will you end up institutionalized? Or will you freeze on the streets?

Dynamic Soundtrack: Features original AI-generated atmospheric tracks.

🚀 How to Run Option 1: The Executable (Windows) If you have the compiled .exe file:

Double-click REFACTOR.exe.

The launcher menu will appear.

Click > ENTER THE SHIFT to start the game.

Option 2: Running from Source (Python) If you are a developer, you can run the game directly:

Prerequisites:

Python 3.10+

Required libraries: pygame, Pillow, tkinter (usually built-in)

Install Dependencies:

Bash

pip install pygame Pillow Launch the Game:

Bash

python run_game.py 🕹️ Controls Keyboard: The game is entirely text-based.

Make Choices: Type the number corresponding to your choice (e.g., 1, 2, 3) and press ENTER.

Navigate Menus: Follow the on-screen prompts.

🛠️ Tech Stack Language: Python 3.14

GUI: Tkinter (Launcher Menu)

Audio: Pygame Mixer

Engine: Custom text-adventure state machine with random event generation.

📝 Credits Developer: Jakub Barak

Music & Assets: Custom generated assets (Suno AI / Visuals by Midjourney).

"Police officers preserve the status quo. Developers build the future."

About

Refactor - text game about police officer becoming a developer.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages