Skip to content
forked from PamelaM/AntWars

Silly Game based on PyGame HexExample

Notifications You must be signed in to change notification settings

aks78062/AntWars

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a toy game based on a game that my son and I liked called 'AntWars'.

It's mostly a learning project.


-----------
To play this mini game:
-----------

Run from the command line:
$ python AntWars.py  H  W   [C1] [C2] [F#] [Q]
    H = Height of map in hexes
    W = Width of map in hexes
    C1  = Player 1 is a computer
    C2  = Player 2 is a computer
    F#  = Frame Rate - Max # frames/second
    Q   = Quiet mode - don't print lots of tracing information.
    
Demo mode is:
    $ python AntWars.py 8 8 C1 C2 F10 Q
        - 8x8 map
        - Computer v Computer
        - 10 frames/second
        - No distractions
    
Debug mode is:
    $ python AntWars.py 6 6 C1 C2 F60
    
  I hope you will enjoy and learn from this.  
  
    

About

Silly Game based on PyGame HexExample

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%