GithubHelp home page GithubHelp logo

dbc201 / rocket_dodge_server Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 1.0 2.49 MB

A game website created by dbc201 and atillaturkmen

Home Page: https://rocketdodgegame.com

License: GNU General Public License v3.0

JavaScript 22.01% CSS 0.91% EJS 76.84% Shell 0.24%

rocket_dodge_server's Introduction

Rocket Dodge

  • To run without https do node rocket_dodge_main.js -n or --no_https
  • To run without redis do node rocket_dodge_main.js -r or --no_redis

You will still need a database and .env variables for the website to function properly. Database schema and .env variables can be found in the root directory, .env.local must be created, .env is just there to serve as a template.

Demo Website

rocketdodgegame.com

Created by

rocket_dodge_server's People

Contributors

atillaturkmen avatar dbc201 avatar

Watchers

 avatar  avatar  avatar

Forkers

atillaturkmen

rocket_dodge_server's Issues

Better documentation

Better and more extensive documentation, mentioning gcp and forever as save-dev. Also talk about potential exploits given that game runs on the frontend.

Clean up code

Games have a lot of common functionality. Store these in a single js file.

sqlite3 is broken

sqlite3 gives compilation errors on linux. try using better-sqlite3 instead

Possible exploit and fix?

It's pretty obvious that since game runs in frontend, user can choose to modify and post their score in the way they desire. They could choose to post some score that does not reflect their actual game performance.
resim
In an ideal online game, the game would run at the server and user would send input to the server. However, given the limitations of gcp free tier and the effort required to rebuild the project from ground up with a new framework, a replay function could prove to be useful. The state of the game will be recorded every frame and every user's highest scoring game will be visible on their profile available to replay. Now a sophisticated attacker could create fake game states from ground up, but given the scope of this project that is negligible. Also as previously stated, since the power of the server is limited, moving the game to the backend could cause further issues and put strain on the server.

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.