GithubHelp home page GithubHelp logo

winniehell-forks / jammercore Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jambrain/jambrain

0.0 0.0 0.0 7.17 MB

the software powering Ludum Dare events

Home Page: https://ldjam.com

License: MIT License

PHP 47.10% Shell 0.48% HTML 0.10% JavaScript 42.27% CSS 0.14% Makefile 0.78% Less 9.12%

jammercore's Introduction

Jammer Core

Jammer Core is the software that runs Ludum Dare game jam events. It is currently live on ldjam.com

NOTE: For better clarity, we are rebranding this software to Jammer Core (formerly ludumdare). The Ludum Dare game jam is still Ludum Dare, but to help reduce confusion with everything else called Ludum Dare, the software powering Ludum Dare has a new name.

Build Status

Want to help out? Setup Instructions are here:

https://github.com/JammerCore/DairyBox

Development discussion (site-dev only please):

Structure

Many folder are documented. Just browse the tree to learn about the contents.

Source Code

Source code is found here:

  • /src - Source Code (PHP, JavaScript, CSS, etc)

Live sites

These folders contain the live sites that are served. They tend to be simple PHP files that include things from the /src folder. They also contain the output of the toolchain (in the /-/ subfolder).

These are not currently in active development.

Other

The Makefile

The Makefile is the core build script. It is used to build the project. Invoke it with the make command from inside the VM (or outside with appropriate config).

Usage:

  • make - Compile all changed files and build the target
  • make clean - Delete all intermediate files. NOTE: When you make again, everything needs to be recompiled
  • make lint - Run all code through the linter. NOTE: make only lints files that have changed. This lints everything
  • Advanced build options
    • make all - Build all targets (default, until you set TARGET in config.mk)
    • make TARGET=public-ludumdare.com - Make a specific target (in this case, public-ludumdare.com)
    • make mini - Like make, but refreshes the UID (used to bypass caching proxies, etc)
    • make clean-some - Clean, but don't delete the output files (useful when clean building on live)
    • make clean-all - Clean all targets
    • make clean-svg, make clean-css, make clean-js - Clean specifically the SVG, CSS, or JS
    • make clean-all-svg, make clean-all-css, make clean-all-js - Clean specifically the SVG, CSS, or JS of all targets
    • make lint-all - Lint all code for all targets
    • make lint-css, make lint-js, make lint-php - Lint specifically the CSS, JS and PHP code
    • make lint-all-css, make lint-all-js, make lint-all-php - Lint specifically the CSS, JS, or PHP code of all targets
    • make clean-lint - Force re-linting of everything on build
  • config.mk - Create this file and you can hardcode makefile settings
    • TARGET=public-ludumdare.com to build just Ludum Dare
    • DEBUG=true to enable debug builds (append ?debug to the URL)
    • SOURCEMAPS=true to enable Source Maps. NOTE: Requires a full rebuild when changed
    • JOBS=2 to compile using 2 threads (parallel build)
      • NOTE: VirtualBox is really bad at threads. Beyond 2, you start seeing serious diminishing returns, to the point where it actually gets worse than 2 the higher you go.
      • If you actually want to try values other than 1 and 2, it you'll need to change the number of CPUs in Vagrantfile, as well as set JOBS.
      • Below is a list of benchmarks, testing different combinations of CPUs and Jobs. Testing on an AMD FX-8350 (8 core, which is not Hyperthreaded, but rather has 2 cores per die that share caches)
    • NOCOLOR=1 to disable color escape codes from output

config.mk JOBS benchmarks

C,J  Sec   Change Diff
-----------------------
1,1: 901 = 100% = 0%
2,2: 521 = 173% = 73%
3,3: 427 = 211% = 38%
4,4: 401 = 225% = 14%
8,8: 824 = 109% = -116%

jammercore's People

Contributors

mikekasprzak avatar local-minimum avatar zwrawr avatar sgstair avatar noojuno avatar stormburpee avatar jezzamonn avatar ulydev avatar zr3 avatar tsjost avatar paulloz avatar nicolasbize avatar allisonfleischer avatar gholdampf avatar windsurfer avatar aurel300 avatar johanhelsing avatar jonesandrew avatar leereilly avatar mkalam-alami avatar steffo99 avatar tonyfinn avatar jekstrom 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.