Skip to content
View ScarMaagur's full-sized avatar
Generating dungeon
Generating dungeon

Organizations

@pistisxyz

Block or report ScarMaagur

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
ScarMaagur/README.md
const live = true;
var tired = "no", drinkEnergy = 0, day = 0;



while(live){
  day++; tired = "no"; drinkEnergy = 0;// new day
  switch(tired){
    case "no":
      workUntilTired(12,drinkEnergy);
      break;
    case "yes":
      drinkEnergyDrink(1);
      break;
    case "sleep":
      sleep("9h");
      break;
  }
}

function workUntilTired(avgTiredHours,energy){
  for(var i=0; i<avgTiredHours; i++){
    doWork("Coding");
    if(avgTiredHours - 1 === i) {
        if(energy === 0){
          tired = "yes";
        }else{
          tired = "sleep";
        }
    }
  }
}

Popular repositories Loading

  1. ScarMaagur ScarMaagur Public

  2. Everything.js Everything.js Public

    Forked from ajays97/Everything.js

    Everything JavaScript

  3. SquidPlayer SquidPlayer Public

    Android Exoplayer kotlin first test

    Kotlin

  4. NoFrame NoFrame Public

    node.js web framework without the frame and double the work

    JavaScript

  5. LogParser LogParser Public

    JavaScript

  6. nvim nvim Public

    my neovim configuration

    Lua