Coder Social home page Coder Social logo

captain_forever's Introduction

Welcome to Captain Forever

Conquer the infinite expanse of space and become the ultimate Captain Forever!

The big idea

Captain Forever is an exhilarating spaceship adventure game that transports you, the captain, into the role of an interstellar pilot on a mission to evade and destroy formidable enemy ships. In the midst of a cosmic field, you'll navigate a single spaceship while facing flying enemy ships that pursue and attempt to destroy you. If you take too many hits, you will explode! Your objective is to strategically shoot and annihilate them, all while avoiding collisions and dodging counter-fire. If you can destroy all of the enemy ships before reinforcements appear, you win!

Specifications

  • This game uses Python 3.10.11 64-bit (Microsoft Store).
  • We developed the software on Windows or in an Ubuntu VM for windows in the VSCode IDE.

Necessary Packages

This game uses Python 3.10.11 64-bit (Microsoft Store). We can only guarantee that this game work with this Python version.

To start, please ensure that you have this version of Python installed and that you are using the Python 3.10.11 interpreter in your IDE of choice.

Use pip3 to install PyGame with the following command. It's the only external Python library we use outside of pytest for unit testing. Please install it for your Python 3.10.11 version.

python3 -m pip install -U pygame --user

If you would like to run test files, please use the following command to install Pytest:

pip3.10 install pytest

Setup Instructions

To install this game locally, clone this repo into the directory of your choice. Then, cd into that directory, and then into the captain_forever directory, where main.py lives. To run the game, use the following command in your terminal:

python3 __main__.py

Gameplay

  • Use up and down arrows to translate forwards and back, respectively. Use right and left arrows to rotate clock-wise and counter-clock-wise, respectively.
  • To quit, press escape or close the PyGame window with the demarked button in the upper-right-hand corner of the window.
  • To restart the game, once you have won or lost, press enter or return.

captain_forever's People

Contributors

jes-bro avatar johnnymaboi avatar mguoji 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.