Skip to main content

idlegame

PyPI Unit Tests

Ever find yourself stuck at your desk during slow moments in software development? idlegame is here to save the day! Whether you’re waiting for a build to finish or just need a quick breather, this idle game is your perfect companion to make those downtime moments a little more fun.

Installation

Getting started with idlegame is a breeze. Just whip out your terminal and run:

pip install idlegame

Usage

Once it’s installed, you can jump right in by typing:

idlegame

Features

  • Easy to Play: I literally can't think of a way to make it easier. Install and run in 2 steps!
  • Casual Gameplay: Ideal for short breaks or when you need to step away from coding.
  • Offline Play: Even when you’re not actively playing, your nanobots are hard at work.
  • IncrediSave: Automatic saves mean you’ll never lose progress. It’s like magic.

How To Play

idlegame is a game made for two purposes. One, to entertain you at work. Two, to teach you some zsh commands. To that end, every command in idlegame is a valid zsh command (or helper command, or real cli). Play the game by scripting nanobots with nano. These nanobots can collect resources, defend your filetree, and more.

For example,

Quickstart

Logged in as: bb
bb@idlegame % uptime
Here, you'll be able to see what has happened since you last checked on the uptime of your nanobots.
You can create a nanobot with `nano`, but it requires a nanocore. Here's one to get you started.
Recieved: 1 basic nano core
bb@idlegame % nano --name mine&defend -y
Write the logic for your nanobot (type 'done' on a new line to finish):
idle mine
on invasion defend
done
Nanobot 'mine&defend' created!
bb@idlegame % ls
Name           Type      Idle Action    Event Actions                 Current Action                
----------------------------------------------------------------------------------------------------
mine&defend    Normal    Mine           On invasion: defend           Performing idle action: mine  
----------------------------------------------------------------------------------------------------
bb@idlegame % 

The zsh above shows an efficient way to get started. Claim a nano core, and use it to create a Nanobot that mines for gold. However, if someone invades you, the Nanobot will help defend. This is a very useful all-purpose bot.

I'm stuck

man

Contributing

Got ideas or feedback? We’d love to hear from you! Feel free to submit a pull request or open an issue on the GitHub repo. Your thoughts can make idlegame even better :>

License

This project is licensed under the MIT License. Check out the LICENSE file for more details.

Metadata

Release files for idlegame 2.0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for idlegame 2.0.1.1
File Size Uploaded
idlegame-2.0.1.1.tar.gz 21.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for idlegame 2.0.1.1
File Interpreter ABI Platform
idlegame-2.0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 45.6 kB

Release files / idlegame-2.0.1.1.tar.gz

Download URL idlegame-2.0.1.1.tar.gz
Size 21.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f89be650e444034a489dd7b71e3a8ff6b923ce741ef73f9c86b1d2887bb6f9b3
BLAKE2b-256 checksum
How to use checksums
5ed30df102defbd07ac84021b437c0267b47d2e359f56deee7128cffb9fefa72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.8.18

Release files / idlegame-2.0.1.1-py3-none-any.whl

Download URL idlegame-2.0.1.1-py3-none-any.whl
Size 23.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5c0af469e5032d0a8c63015b19a83c6e123b203f2095ef0007e6487feedafbf8
BLAKE2b-256 checksum
How to use checksums
c88fab68f446a655603784c5c7e79a899cde9ea9c74bc4e8eb81c94977f53c8f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.8.18

Release history Release notifications | RSS feed

This release

2.0.1.1 This release

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.6.2

2 release files

1.6.1

2 release files

1.6.0

2 release files

1.5.2

2 release files

1.5.1

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page