Code Monkey home page Code Monkey logo

bithigher's Introduction

BitHigher

Brief

BitHigher is an Icy Tower inspired game where your goal is to survive as long as possible by jumping higher and higher. I have not followed any tutorial for this project from beginning to end, however I have used the resources listed in the credits sections for certain parts of it.

This is a university project. The assignment was to create an HTML5Canvas game with persistent data storage. This project follow minimal security solutions (little sanitization, basic redirection and authenticaion), so attacking it is quite trivial. I did not aim this website to be secure.

Setup

To setup BitHigher create a PHP file with a PDO connection, then make sure to set a correct path in the get_db_handle_path.php.

Setup the database with the following command

CREATE TABLE users( name varchar(20) primary key,
              score int default 0,
              difficulty varchar(11) default 'easy', 
              hero varchar(11) default 'goose'
              );

Remeber to change the path in the get_db_handle_path file in the api folder to match your own PDO connection file.

Technology Stack

  • JavaScript
  • HTML5Canvas, HTML, CSS
  • PHP
  • PostgreSQL

More information

I have used plenty of resources while making this project, and some code I cannot take the credit for. Those resources I have listed in about.html.

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.