Skip to main content

pipeline status coverage report Documentation Status Supported Python versions PyPI PYPI downloads AUR version License: GPL v3

Squirrel Battle

Squirrel Battle is an infinite rogue-like game with randomly generated levels, in which the player controls a squirrel in its quest down in a dungeon, using diverse items to defeat monsters, and trying not to die.

##Installation

####Via PyPI :

``` to install

``` pip install --user --upgrade squirrel-battle
``` to upgrade

####Via ArchLinux package : 
Download one of these two packages on the AUR :

* python-squirrel-battle
* python-squirrel-battle-git

####Via Debian package :
Available on our git repository, has a dependency on fonts-noto-color-emoji (to be found in the official Debian repositories).

Run ```
    dpkg -i python3-squirrelbattle_23.14_all.deb
``` after downloading

In all cases, execute via command line : ```squirrel-battle```

##For first-time players

The game is played in a terminal only, preferably one that supports color, markdown and emojis, but it can be played with only grey levels and relatively classic unicode characters.

Upon starting, the game will display the main menu. To navigate in menus, use zqsd or the keyboard arrows. To validate one of the options, use the Enter key. Mouse click is also supported in most menus, **but not in game**.

The game in itself can have two types of display : using ascii and simple unicode characters, or using emojis. To activate emoji mode, go to the settings menu and select the squirrel texture pack. Emojis will not work if the terminal does not support them, so do tests before to ensure the terminal can display them.

The game is translated (almost entirely) in English, French, German and Spanish. To change the language, go to the settings menu.

Controls in-game are pretty basic : use zqsd or the keyboard arrows to move. To hit an ennemy, simply go in its direction if it is in an adjacent tile.

There are several special control keys, they can be changed in the settings menu :

* To close a store menu or go back to the main menu, use Space
* To open/close the inventory, use i
* To use an object in the inventory, use u
* To equip an object in the inventory, use e
* To use a long range weapon after it has been equipped, use l and then select the direction to shoot in
* To drop an object from the inventory, use r (to pick up an object, simply go on its tile, its automatic)
* To talk to certains entities (or open a chest), use t and then select the direction of the entity
* To wait a turn (rather than moving), use w
* To dance and confuse the ennemies, use y
* To use a ladder, use <

The dungeon consists in empty tiles (you can not go there), walls (which you can not cross) and floor ( :) ). Entities that move are usually monsters, but if you see a trumpet (or a '/'), do not kill it ! It is a familiar that will help you defeat monsters. Entities that do not move are either entities to which you can talk, like merchants and ... chests for some reason, or objects. Differentiating the two is not difficult, trying to go on the same tile as a living entity (or a chest) is impossible. Objects have pretty clear names, so it should not be too difficult determining what they do (if you still don't know, you can either read the docs, or test for yourself (beware of surprises though))

And that is all you need to get started! You can now start your adventure and don't worry, floors are randomly generated, so it won't always be the same boring level.

## Documentation

The documentation for the project cen be found at [squirrel-battle.readthedocs.io](https://squirrel-battle.readthedocs.io). It is unfortunately only written in French.

Anyone interested in understanding how the code works can find a few explanations in the documentation.

Metadata

Release files for squirrel-battle 23.14

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

Source distribution (sdist)

Source distribution for squirrel-battle 23.14
File Size Uploaded Provenance
squirrel-battle-23.14.tar.gz 52.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for squirrel-battle 23.14
File Interpreter ABI Platform
squirrel_battle-23.14-py3-none-any.whl Python 3 none any Details

Total release size: 142.1 kB

Release files / squirrel-battle-23.14.tar.gz

Download URL squirrel-battle-23.14.tar.gz
Size 52.1 kB
Tags Source
SHA-256 checksum
How to use checksums
1923cf750add761b44621d6810c5d5d1ce6c9d6953fbf2ba2952d09ac2f5814f
BLAKE2b-256 checksum
How to use checksums
e2f4b43e911e1e7d70b431d51d98be77c074483df4aadcf36e919ea4fc2a7b97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.55.2 CPython/3.9.1

Release files / squirrel_battle-23.14-py3-none-any.whl

Download URL squirrel_battle-23.14-py3-none-any.whl
Size 90.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
05a9fc84c0c900d2cec4e5ccbc32a17bc125940185e9385094d1dcae03802587
BLAKE2b-256 checksum
How to use checksums
329cf8d7d0657adf68070c636d1aa646e9a357eea6e9b303335eca77f1727a33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.55.2 CPython/3.9.1

Security for squirrel-battle 23.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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