Coder Social home page Coder Social logo

snakegame_team07's Introduction

OSS Team Project - Snake Game (Team 07)

This is the Chung-ang univ OSS class Team Project with making a game of Snake.

Play the Game on Online!

You can play the game from this link :

https://myeongbaek.github.io/SnakeGame_Team07/

Or if you are using the VSCODE, just simply play with 'Live Server' Extension

How to play

Start the game and move your snake with arrow key. Your Snake will be longer when you eat up the apple. Get your best score and rank your record!!

Implementation Details

Source code :
dir : mode
App.js
MainScreen.js
index.html
index.js
style.css

mode :
dir : solver
Auto.js
Dual.js
Single.js
utils.js

solver :
search.js
solver.js

Explanation :
Our game is web console game running on index.html. From the index.html, the game style is implemented by style.css and the game module is implemented by index.js. Inside of the index.js, App object is generated. And App.js is generating the MainScreen object. So index.html, index.js, style.css, and App.js are the skeleton of our game.

And the others of the source code, from the MainScreen.js mode Single.j Dual.js Auto.js are functioning during the game. MainScreen.js is defining MainScreen object and it show us mainscreen. Start, Dual Mode, Auto Play, Load, Rank, and Exit are implemented. Also their function is defined. Single.js is defining Single object which is containing game state, snake movement, key input, puase action, gameover, and save. The state is stored at localstorage to show us score, save, and rank. Moreover utils.js is supporting Single.js by defining functions to calculate. Similary Dual.js and Auto.js are defining each mode, state, game play, movement,,,

Information

Team Number : 07
Team Member : KimHyeongWoo, Margarita, ChoiMyeongBaek
Language : JavaScript

snakegame_team07's People

Contributors

myeongbaek avatar horrorkist avatar margaritaosokina 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.