Skip to content

davide-ceretti/strategypy-pygame-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

strategypy-pygame-client

A front end for strategypy (https://github.com/davide-ceretti/strategypy) written in PyGame

Installation

  • sudo apt-get install mercurial libfreetype6-dev python-dev python-numpy ffmpeg libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsmpeg-dev libsdl1.2-dev libportmidi-dev libswscale-dev libavformat-dev libavcodec-dev
  • pip install -r requirements.txt

Quickstart

  • ./play.sh

General usage

Load json game:

  • cat example.json | python strategypy-pygame-client/main.py

or pipe output from strategypy (assuming you have strategypy in ../)

  • python ../strategypy/strategypy/main.py killer prey prey | python strategypy-pygame-client/main.py

Screenshoots

Alt text

0b88d04ae31518ae9343f1de03b0a09886fd303f

About

A front end for strategypy written in PyGame

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors