backlinks to this page:
This is an old revision of the document!
Scharzweiss is a tank game for 2 players written in python and pygame.
SchwarzWeiss is german and means “black/white”. This game was created 2010 (?) during a 48-hour-game-creating contest at Viennas Metalab computer lab. The theme was “black and white” (or was it “grid”?) and only public available resources were allowed. Lucky for me, that included ThePythonGameBook. In effect i worked around 3 hours in the evening and around 4 hours in the next morning. After that i lost interest and presented the game to the other participants in the Metalab to make use of the weekend for non-computer related activities. While i'm proud to report that i was the first participant to present a “playable” game (way bebfore the deadline) i'm less proud to report the results of test-playing against the other coders. It turned out that while my game is playable, it is simply boring and not much fun. Also i got beaten in my own game by people who never played the game before
The most annoying aspect was that usually the player wins who do not manoever his tank but instead simply shoot horizontally until a row is done and than moves to the next row.
While modifying the game for the reddit game jam 06, i replaced the obstacle balls with tanks and added some kind of energy management (the topic of the reddit game jam 06 was “energy”).
2 players (WASD, cursor keys) must steer their tanks and fire at the grey tiles of the field between them. Each shot crossing a tile makes the tile darker (player1) or lighter (player2). If a single tile is shot at enough times by the same color, it is displayed crossed and do not change color any more. First player who convert more than 50% of all tiles to his color wins.
Each player action cost energy: (yellow bar on top).
The player-controlled tanks can shoot with 3 different weapons:
Some static and movable orange-glowing obstacles (barriers) are in the game. Those obstacles destroy Machine gun rounds and cannon rounds upon impact, thus acting as some sort of cover for the player.
You can customzie the game by changing the values in the game menu, such as number of tiles, number of neutral tanks etc. For more customizing, edit directly the values inside the class Config in the file ''schwarzweiss.py'
you can find the latest version and a history of all versions on github: