Coder Social home page Coder Social logo

brain-twister's Introduction

Brain-Twister

Watch the game demonstration here! >>> https://youtu.be/2H73vTkanPE

The second-year Computer Systems Engineering degree module of Object-Oriented Programming was heavily dependent on coursework, which involved developing a fully-functioning program in Java. Samuel decided to create a game, named “Brain Twister”, where the player is expected to collect points by touching defined falling coloured words with his avatar that is moved with the mouse. Game lives are lost if the player touches the wrong words (e.g. if the requested colour - top left corner of the screen - is yellow and the player touches a green word that is not the “yellow” word) and the game speed increases as the player accumulates points. Full instructions are available in game menu.

The external library JavaFX was used to accomplish a superior graphic visual compared to Swing, and to utilise JavaFX’s built-in animation class. The program included a sophisticated logic structure, appropriate exceptions, and well designed, encapsulated and scoped classes. By creating the game, Samuel engaged with lecturers and applied information from various sources, learning how to use Java as a programming language as well as data types and operators, control statements, classes, objects, methods, constructors, interface, inheritance, encapsulation and exceptions.

“Brain Twister” received the highest mark among the class and was highly praised by the lecturer, who marked the JavaDoc at 85% and the following categories at 90%: performance, functionality, design, clarity of code, suitability of classes and justification of classes.

The project was a fantastic experience as the envisaged product was successfully delivered through dedication and continuous learning. A demonstration of the game can be seen on YouTube: https://youtu.be/2H73vTkanPE

Further details:

  • instructions file can be editable. The instruction number must be followed by the instruction and separated by one tab "\t"
  • scores file cannot be manipulated as the information is in binary code to prevent cheating
  • The game is not designed to provide a victory message because it was designed to be practically impossible to run out of attempts

brain-twister's People

Contributors

samuplus 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.