Code Monkey home page Code Monkey logo

great-expectasians's Introduction

Flingshot

What is it?

Flingshot uses Phaser, a phsyics engine, to simulate a game where you can hit students from the back of classroom. The game is sparked from our childhood imagination to tease other students in our class. Never attempted in real life, we created this game to fulfill your fantasy without getting yourself suspended. This is a fun, quick, low-stake, yet addicting game for people looking for ways to take a short break from work.

User Documentation

Installation

No hardware installation is necessary. Please visit http://taneeya96.github.io/Great-Expectasians/Flingshot/ and enjoy the game.

The game works for both Android and Apple devices. It is compatiable with most browsers (i.e.: Chrome, Firefox, Safari, IE, Opera.) This game is best experienced on a mobile, touch-screen device.

Instruction

image

Users can drag anywhere from the screen to shoot paper balls at only students who raise their hands. Users get 10 points for hitting the right student, and lose 5 points for hitting the wrong one. The student raising their hand will change at random, and this change will happen at quicker at higher level. Each level lasts 30 seconds (shown by a timer in the top left corner) and a score goal users need to meet to progress to the next level. There are seven levels in this game with increasing difficulties.

FAQ

  1. Do I have to drag from the flingshot to launch the ball?

No. It's actually to your advantage to drag from different places on the screen to launch the ball faster.

  1. Which student do I hit?

The one who lights up and raises their hand.

  1. How do I win this game?

You need to reach the level score goal, displayed next to your current score and in the level progress bar, to move to the next level. The game will progressingly become more challenging and exciting to play.

  1. How can I play this game?

Visit this link: http://taneeya96.github.io/Great-Expectasians/Flingshot/

Developer Documentation

This is a working version of the game. To clone the latest version, please visit https://github.com/taneeya96/Great-Expectasians.

This game was written with JavaScript and used Phaser as the game engine. It requires Phaser 2.7.7 or later, and HTML5 or later. Please visit https://phaser.io/ to install the game engine and check out their tutorials/documentations. Additionally, polylines for collision objects in this game were created using PhysicsEditor, though any similar software would work. Animations in the game are created using sprite sheets. After cloning or downloading the project, run it using your local server.

Current state of project

The current project has all the essential features we envisioned our game to have. In the first version of the game, we had the ball launcher control schemes (the arrow), the physics of the balls (flying motion and collision detection) and students working. We also had level timer and level score goals implemented so users can level up. After much user testings, in the second version of the game, we polished the graphics, made elements in the UI display (i.e. buttons, score, timer, transparency of students, display of plus points) more obvious to convey the game play better. We also added sound effects, student reaction animations and background animations (the teacher) to make the game more polished and engaging.

Future work

We would like to add more levels and vary the difficulty and predictability of the game by adding moving targets or rearranging the placements of the students. At present, users also cannot go back to the instruction page once they've entered the play state.

Contacts

o Flingshot is created by Great-Expectasians. Our team includes Jack Chen, Nguyen Phuc, Taneeya Rele, Ali Mahad.

great-expectasians's People

Contributors

phuchonguyen avatar taneeya96 avatar jchen0023 avatar

Watchers

James Cloos avatar Eric Huang 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.