Giter Site home page Giter Site logo

colour-change's Introduction

ColourChange

ColorChange is a reaction based game where by the player must react to a changing background colour.

The player is a square in the middle of the screen which can be one of three colours (red, green or blue) and by pressing any key on the keyboard the player can change the colour of the square.

The player must match the colour of the square to the background colour the square is on. Colours can be changed when the square is on top of a black bar. The black bars move in from the right hand side of the screen and move towards the left.

As time passes the speed of the black bars increases, making the game more difficult.

The aim of the game is to get the highest score possible. Score is time based and when the player loses this score gets saved to a text file to be used in the next game.

Main features include file reading and writing, collision detection and general game design with a polling like architecture.

To run this game, download processing from https://processing.org/ and open ColourChange.pde. Then press the play button in the left corner of the ide.

This game can also be compiled and run on android devices with some small alterations to screen scaling and also screen touch(mouse pressed) rather than keypressed

colour-change's People

Contributors

ciarancoady98 avatar

Watchers

James Cloos 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.