The “出奇制胜” Award


Presented by xmzhang1 to:

ButterFling (Typewriter1 Pyweek Team)
This is the first time that I am doing PyWeek, so will probably not finish this game (actually, it is looking more likely that I will finish it now). But just in case I do, here are instructions on how to run it: install Panda3d (Install Panda3D, developed with Panda3D 1.10.6 and Python 3.7), unzip the archive that I will upload and run ppython main.py.


The aim of the game is to direct a ball to the target (in blue) using positionable blocks, while avoiding obstacles (in red). But if some of the blocks is positioned slightly out, the errors will accumulate and the butterfly effect will mean that the ball ends up nowhere close to the target!

Controls:

  •  Click to place a block
  •  Left and right arrow to change rotation of most recently placed block
  •  X to delete most recently placed blocks
  •  Once you have arranged the blocks, hit space to start the ball moving straight ahead