Git Product home page Git Product logo

game-time's Introduction

Waffle.io - Columns and their card count

Game Time

Recreating a classic arcade game using Canvas.

This project was made by Cole Hart and Kevin Simpson as a part of the Front End Engineering Program at The Turing School of Software and Design. This project is focused around object-oriented-programming in JavaScript and HTML Canvas.

Project requirements can be found here. Turn sound on and click below to play the game. Only available on desktop due to needing arrow keys for navigation.

Nom-Nom Snake Screen Recording

game-time's People

Contributors

brittanydionigi avatar colehart avatar nfosterky avatar relasine avatar robbiejaeger avatar

Stargazers

 avatar

Forkers

relasine

game-time's Issues

Code org refactor

Your game should make use of at least two classes; the exact number will depend on which game you choose and your design choices.

You should use inheritance with your classes.

a parent class should have properties that might be shared by several other child classes
a parent class’s properties and methods should be shared by all the child classes
a child classes should inherit those properties from the parent class
The game-time-starter-kit starts with a GamePiece class from which your other classes should inherit.

Each class should have its own file with the filename capitalized. The class should be capitalized as well. Only code that is a part of this class should be in this file.

Blog post

blog post on Medium detailing your experiences building a game with HTML5 Canvas and OOP

Game Over message

tell the user when the game is over (due to losing, winning, or completing the game)

Repeating random number generation for food

In Game.js -

We can probably store the random number generation within a function or something and just call it when we need to generate a random number instead of hard-coding it every time.

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.