Giter Site home page Giter Site logo

visalsrimanga / mini-game-web-app Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 7.98 MB

This mini-game web application is developed using JS (JavaScript), CSS with SCSS, and HTML.

License: MIT License

HTML 14.79% JavaScript 53.17% SCSS 32.04%
css3 css3-animations html5 javascript scss minigame

mini-game-web-app's Introduction

Mini Game Web App with JS

This mini-game web application is developed using JS (JavaScript), CSS with SCSS, and HTML. (Without using any frameworks). Here, the display repaint function (requestAnimationFrame() in JS) is used to call the browser for updating an animation before the next repaint, and also key event handlers in JS were used in the movements. The game character has the ability for moving both left and right sides and also is able to do jumps when needed. (This application only works for desktops)

Languages & Tools

  • JavaScript (JS)
  • HTML
  • CSS with SCSS

Installation

  1. Clone the repo git clone https://github.com/visalsrimanga/Mini-Game-Web-App.git
  2. Go inside the root directory cd Mini-Game-Web-App
  3. Install scss compiler (eg: Sass) if you need to write scss styles by flowing the instructions of https://sass-lang.com/ site.
  4. Run sass -w scss:css to start the sass compiler.
  5. Run npx serve

step 3 and step 4 are optional. Those will be needed only if you wish to develop this project. (when styling using css, those steps can be neglected)

Play

  • Press Left Arrow Key - Run left
  • Press Right Arrow Key - Run right
  • Press Space - Jump

Demo

version

1.0.0

License

Copyright © 2022. All Right Reserved.
This project is licensed under the MIT License

Contact Details

mini-game-web-app's People

Contributors

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