Code Monkey home page Code Monkey logo

cny2018's Introduction

Chinese New Year 2018 - Year of the Dog Card & Game

This is a combination Chinese New Year greeting card and mini video game to celebrate the Year of the Dog. Gong Xi Fa Cai, everyone!

Playable at http://shaunanoordin.com/cny2018/ - or if you're looking at the source code - by opening index.html on a web browser.

Previous Chinese New Year greeting cards/games:

Developed by Shaun A. Noordin

Development/Technical Stuff

  • Target audience: Casual gamers who celebrate Chinese New Year.
  • Target devices: PCs and mobile devices - that means keyboard and touch screen compatibility.
  • This is a web app built on HTML5, JavaScript and CSS.
  • The source code is based on https://github.com/shaunanoordin/avo-adventure
  • Developing the web app requires Node.js installed on your machine and a handy command line interface. (Bash, cmd.exe, etc)
  • However, the compiled web app itself can be run simply by opening the index.html in a web browser. (Chrome, Firefox, etc)

Project anatomy:

  • Source JS (ES6 JavaScript) and STYL (Stylus CSS) files are in the /src folder.
  • Compiled JS and CSS files are in the /app folder.
  • Media assets are meant to be placed in the /assets folder.
  • Entry point is index.html.

Starting the project (locally):

  1. Install the project dependencies by running npm install
  2. Run npm start to start the server.
  3. Open http://localhost:3000 on your browser to view the app.

Alternatively, there's a developer mode:

  1. npm install
  2. npm run dev
  3. http://localhost:3000
  4. Changes to the JS and STYL files will now be compiled automatically; i.e. Babel and Stylus now watch the files. Refreshing the browser window should should show the latest edits.

cny2018's People

Contributors

shaunanoordin avatar

Watchers

James Cloos 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.