Giter Site home page Giter Site logo

battle-city's Introduction

battle-city

game home screen

forked from

Keys and arguments

Controls

  • Player 1: * movement: up/left/down/right * fire: space
  • Player 2: * movement: w/d/s/a * fire: f

Fullscreen

You can start the game in fullscreen mode by passing the "-f" argument

Quitting

Pressing the "q" key will quit the game

Things that are different from original

There are number of differences from original BattleCity.: * Copyright symbol © on intro screen is made up from "(c)". This is because font doesn't support © and I didn't want to put an image instead. * Ice terrain doesn't do anything. it acts like empty space. This is because I don't really know what supposed to happen. Hopefully this will be fixed * The are some missing sounds and I couldn't get that only one sound can be played simultaneously, pausing other and then resuming on finishing. So my BattleCity has only basic sound support, which can be toggled during gameplay with "m" * There is no "Stage X" screen before each stage * Power-ups are dropped randomly. I would even say too randomly, 'cause they are not alyaws accessible (e.g. in the middle of water) * If enemy is spawned during timefreeze, he also should be paused * Brick destruction is different: this game has static big block which is divided into 4 smaller static blocks. Original has smaller blocks whose destruction amount depends on which side bullet came from

Known bugs

sometimes tanks can get stuck: between some specific terrain or with each other

System requirements

  • Python
  • pygame

Launch

python tanks.py from command line

battle-city's People

Contributors

makhgal-ganbold avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.