Skip to main content

A tiny idle game you can play right from your terminal, if you are bored at your software development job

Project description

PyPI Unit Tests

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

idlegame-1.6.2.tar.gz (16.8 kB view hashes)

Uploaded Source

Built Distribution

idlegame-1.6.2-py3-none-any.whl (18.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page