Code Monkey home page Code Monkey logo

go-asteroids's Introduction

Go Asteroids

An Educational Game Aimed At Teaching Novice Programming Students The Concepts Of Concurrency

Submitted to the University of Limerick in fulfilment of the requirements for the Bachelor of Computer Science in Computer Systems Department of Science and Engineering University of Limerick

Required Library:

Ebiten.org

Gameplay

Shoot as many asteroids as you can! Avoid collisions!

Player

The player controls a space ship using the arrow keys. When the game is initialised, the width and height of the ship are set to constants in the code of 50 & 80 respectively. The X & Y coordinates are also set to perfectly centre the ship in the bottom half of the screen, ready to take on the asteroids above.

Levels

The user has a choice between 3 difficulty levels in the game. Level 1 generates 5 asteroids concurrently which split into a total of 10 mini asteroids (slices of original asteroid) when shot down. Levels 2 and 3 increase the amount of initial concurrent asteroid generation to 10 and 20 respectively.

go-asteroids's People

Contributors

ayoubjdair avatar

Stargazers

 avatar

Watchers

 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.