Skip to main content

Create CLI-based games.

Project description

Pyclim Engine

Easy to use library for creating CLI-based games in Python.
This project is for fun/learn purposes.

Example

Note: Pyclim Engine is very experimental and there are millions of bugs floating there. Help me fixing them by contributing.

import threading
import time
import os

import pyclim

screen = pyclim.Screen()

# A prefab of a controller that moves in 4  directions
player = pyclim.Player(parent=screen)
thread = threading.Thread(target=player.move).start()

# Main game loop
while True:
    print(screen.update(player)) # Printing the latest update of the screen
    time.sleep(0.25)
    os.system("cls") # Clears the command line. For linux use "clear"

Read more here...

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pyclim_engine-0.0.1-py3-none-any.whl (6.1 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