I finished

I didn't think that I would but I did. *pats self on back* There are some features I will implement in the coming weeks but the core game is there. (Oh yeah and that whole balancing thing. My AI was all done in the last three hours. I haven't actually played it yet so it could waste people or be fair, my guess is people will have a hard time beating it but anyway I dunno. Fun contest either way.

(log in to comment)



I've made it crash. I clicked on the gun icon, with one of the worker units selected, and got this:

Traceback (most recent call last):
  File "X:\pyweek2\SeeD\steamwarfare\main.py", line 3475, in ?
    if __name__ == '__main__': main()
  File "X:\pyweek2\SeeD\steamwarfare\main.py", line 3298, in main
    action = gui.click(event.pos)
  File "X:\pyweek2\SeeD\steamwarfare\main.py", line 1849, in click
  File "X:\pyweek2\SeeD\steamwarfare\main.py", line 2627, in click
  File "X:\pyweek2\SeeD\steamwarfare\main.py", line 2922, in clicked
  File "X:\pyweek2\SeeD\steamwarfare\main.py", line 1249, in action
TypeError: __init__() takes exactly 6 arguments (5 given)
This is running in Python 2.4.2 with Pygame 1.7.1, in Windows. Any fixes for this? Thanks.