GithubHelp home page GithubHelp logo

projekt's Introduction

Space Commander Game / Projekt w C - Karol Machoś

     ____
    / ___| _ __   __ _  ___ ___
    \___ \| '_ \ / _` |/ __/ _ \
     ___) | |_) | (_| | (_|  __/
    |____/| .__/ \__,_|\___\___|
          |_|
      ____                                          _           
     / ___|___  _ __ ___  _ __ ___   __ _ _ __   __| | ___ _ __ 
    | |   / _ \| '_ ` _ \| '_ ` _ \ / _` | '_ \ / _` |/ _ \ '__|
    | |__| (_) | | | | | | | | | | | (_| | | | | (_| |  __/ |   
     \____\___/|_| |_| |_|_| |_| |_|\__,_|_| |_|\__,_|\___|_|   

Made with: https://www.ascii-art-generator.org/

PL

Kompilacja =>

Projekt do kompilacji wymaga gcc 9.2.0, csfml 2.5 oraz sfml 2.5 Aby skompilowac projekt można użyć

make

Instalacja CSFML i SFML =>

SFML => https://github.com/SFML/SFML
CSFML => https://github.com/SFML/CSFML

Ewentualnie można skorzystać z instalacji paczki libcsfml-dev jesli jest on dostępny w odpowiednim dla dystrybucji Linuksa package-managerze.

Rozgrywka =>

Gra polega na osiągnięciu jak najlepszego wyniku. Wlecenie w asteroide powoduje koniec rozgrywki. Wlecenie w powerupy daje nastepujące korzysci:

Skrzynia z podpisem "W" -> Jesli gracz nie ma zadnej amunicji, zmienia jej stan na 1. Jest to rakieta ktora niszczy pierwsza asteroide na swojej drodze.

Skrzynia z podpisem "S" -> Otacza statek polem ochronnym które umożliwia wytrzymanie jednej kolizji z asteroidą.

Po zakonczeniu rozgrywki gracz może wpisać swoją nazwę do tabeli wyników. Nazwa nie może zaczynać ani kończyć się spacją, oraz nie może być dłuższa niż 20 znaków.

Sterowanie =>

Strzałka w górę aby wykonać skok w górę.
Strzałka w dół aby oddać strzał rakietą (o ile aktualny stan amunicji to 1).

ENG

Installation =>

The game requires gcc 9.2.0, CSFML 2.5.0 and SFML 2.5.0 . To install the game you can use:

make

Installation of CSFML and SFML =>

SFML => https://github.com/SFML/SFML
CSFML => https://github.com/SFML/CSFML

You can also just use your native package-manager to install any package containing CSFML with all its dependencies (such as for example: libcsfml-dev).

Gameplay =>

The goal of the game is to achieve the highest score posibble, by surviving the longest without crashing your ship against the asteroids. You can also catch 2 types of power'ups to make surving easier:

The container with "W" on it -> If you crash with this container whilst having no rockets on your ship, it will add one rocket to your ship. You can use this rocket to destroy asteroids, by firing it at them.

The container with "S" on it -> It's a shield. If you crash with this container, your ship whill be surroundend by a blue force field, making your ship capable of surviving one crash with an asteroid.

After crashing, you will be prompted to enter your name for the highscores table. If you won't enter any letters, your score won't be saved.

Controls =>

Arrow UP makes your ship jump up.
Arrow DOWN fires your rocket (if you have any stored under your ship)

Screenshots

projekt's People

Contributors

kamach12 avatar

projekt's Issues

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.