GithubHelp home page GithubHelp logo

xorai-jitul / happy-birthday-scratch-game Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ovski4/happy-birthday-scratch-game

0.0 0.0 0.0 1.69 MB

A scratch game to wish an happy birthday

JavaScript 59.12% HTML 15.45% CSS 24.89% Dockerfile 0.54%

happy-birthday-scratch-game's Introduction

Happy Birthday Scratch Game

Wish your friend, cousin, lover or whoever you want an happy birthday like a pro!

See http://happy-birthday.pro for a demo.

How to customize

Edit the configuration.js file to add as many games as you want. You need at least:

  • imagePath : the picture to scratch
  • backgroundImagePath : the background behind the message when the image is scratch
  • message : the message (either it's a win or a loss)
games: [
        {
            imagePath: "images/my-sctrach-image.png",
            backgroundImagePath: "images/orange-opacity.png",
            message: "Ca alors,<br> ninja-sushis a mangé une boîte!<br>Il n'en manquait pourtant <br>qu'une seule pour gagner..."
        },
        ...
    ]

That's pretty much it right now!

How to run

docker run -p 8888:80 ovski/happy-birthday-scratch-game:latest

browse http://localhost:8888/

happy-birthday-scratch-game's People

Contributors

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