Git Product home page Git Product logo

repaint's Introduction

Re:paint

Re:paint is a color perception and reflex game. The code for re:paint is not public, but I've created this repo to showcase the game itself and provide an overview of its development.

Play it Here

Overview

Re:paint was created specifically to target mobile devices, packaged using Capacitor (a Cordova fork by the Ionic team). Here is a rundown of the tech used:

  • Vue 3 / TypeScript - The game is largely written in Vue, using TypeScript.

  • chroma.js - Chroma.js was used heavily to generate color schemes and evaluate the player's color proximity correctness. Useful for generating colors in close or distant proximity to other colors.

  • phaser - I had originally planned to write each mini-game using phaser, a canvas-based HTML game engine. Most ended up pure Vue, except for one. The UI is, however, overlayed on a phaser canvas which provides background visuals in the menus via GLSL shader.

  • @vueuse/motion - This library was used to create the fairly complex transitions seen in game.

  • Firebase - Online leaderboards and anonymous user registration were created using Firebase Firestore. Requests are first processed and validated through Cloud Functions.

  • Capacitor - Native mobile runtime, really the only good way to package a web app for mobile. This game has been packaged for iOS and Android (though not yet published to either store).

  • AdMob - Though not visible in the web demo, this app runs mobile ads for monetization.

repaint's People

Contributors

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