A tiny idle game you can play right from your terminal, if you are bored at your software development job
Project description
idlegame
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file idlegame-2.0.1.1.tar.gz
.
File metadata
- Download URL: idlegame-2.0.1.1.tar.gz
- Upload date:
- Size: 21.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f89be650e444034a489dd7b71e3a8ff6b923ce741ef73f9c86b1d2887bb6f9b3 |
|
MD5 | 84ab15631f44c0a4681f98037c5473d2 |
|
BLAKE2b-256 | 5ed30df102defbd07ac84021b437c0267b47d2e359f56deee7128cffb9fefa72 |
File details
Details for the file idlegame-2.0.1.1-py3-none-any.whl
.
File metadata
- Download URL: idlegame-2.0.1.1-py3-none-any.whl
- Upload date:
- Size: 23.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c0af469e5032d0a8c63015b19a83c6e123b203f2095ef0007e6487feedafbf8 |
|
MD5 | 65abdc13ab7c7049226bf76e2df63445 |
|
BLAKE2b-256 | c88fab68f446a655603784c5c7e79a899cde9ea9c74bc4e8eb81c94977f53c8f |