Coder Social home page Coder Social logo

fs-pro-server's Introduction

FS PRO Game Server!

FSPro server is a game engine thing for a football fantasy game. The frontend is on its way.

─=≡Σ((( つ o3o)つ


Project top-level directory structure

src
    ├── classes                    #  Single entity objects like Player and Club
    ├── controllers                #  Things that interact with different parts of the app
    ├── state                      # Game state files
    ├── helpers                    # helper functions
    ├── models                     # databases entity models
    ├── interfaces                 # things that describe the classes and other game entities
    ├── services                   # functions that interface with the database directly
    ├── routers                    # api endpoints are defined here
    ├── utils                      # functions and functions

    server.ts                      # App entry i.e where the magic happens

Setup Dotenv

A .env file is used to store configuration files especialy about development and testing.

Guide to use dotenv in this project

  • Install dotenv package as a project dependency using "npm install dotenv" or "yarn add dotenv"
  • Create .env file in project root directory.
  • Add environment variables to .env file as seen in the .env.example file in the root folder.

This is going to be EPIC Our goal is for FSPro to be the best open source football fantasy game. We will do it, I have the best team :)

Stack:

FSPro game server is written in TypeScript.

  • Node + Express - Typescript
  • MongoDB for database

There is an incomplete (like this) Client app tho https://github.com/LeanKhan/fs-pro-server

You can check it out too...

HOW TO CONTRIBUTE

Goto the repo and read the CONTRIBUTING.md file to get started. TBH just do anything you want if it makes sense :)

Important...

So you might need images for your clubs and for the app. Download this .zip file and unpack it in the /assets folder (create it if not there already). So that you have assets/img/... don't forget to move the img folder inside the zip to the assets folder gan

This folder has the game logo and club logos. Of course, you can use your own club logos.

The folder: https://drive.google.com/file/d/1ZohZLDTaT9owSKY_OWA7Y5UgBqvghR0q/view?usp=sharing

License

ISC License

Issues

  • Attackers chance to shoot should be determined by a percentage
  • Tackling is imporved

fs-pro-server's People

Contributors

leankhan avatar dependabot[bot] 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.