GithubHelp home page GithubHelp logo

gijsmaas82 / graduation-client Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 541 KB

Part of a hackathon. I made these games in two days to present at my graduation at Codaisseur

HTML 5.21% CSS 14.61% JavaScript 80.18%
react react-konva canvas

graduation-client's Introduction

Melle's Videogame Room

This is project was built as part of a hackathon where I had to built a full-stack application with a new technology in two days. This is the front-end, the most interesting part because here I used react-konva to use the canvas element to built games for my son Melle. Check out this repository if you are interested in the backend.

Check out this link to see a deployed version of the games

Features

  • React-konva and canvas
  • Homepage
  • Apple picking
  • Coloring

React-konva and canvas

Canvas is a html-element that lets you interact with your screen on another level. React-konva is a library that lets you use the canvas within React. It lets you do animation and make elements draggable on the screen and is a great way to experiment with new UI-design.

Homepage

On the homepage you can drag the baby-avatar to the apple and the pencil. This lets the canvas know which game you want to play. The main user is my son who is now 1 and a half and he understands it! After you drop the baby at the right spot you're directed to the game you chose.

Apple picking

This game randomly generates apples on the screen and a basket to put them in. After you collected all the apples by dragging them to the basket you are rewarded with a video.

Coloring

This game lets you color a coloring plate. You can change the colors by pressing the colored buttons on the side. It stores all the coordinates of all the touches a user made on the screen with the correct color in local state. If you click on the save button it makes a DataUrl that is saved in local state but can also be saved in the backend.

graduation-client's People

Contributors

gijsmaas82 avatar

Watchers

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