Skip to content

Instantly share code, notes, and snippets.

View HoeenCoder's full-sized avatar

HoeenHero HoeenCoder

  • United States of America
View GitHub Profile
@HoeenCoder
HoeenCoder / li-sept-sample-gen.txt
Last active September 16, 2020 14:37
Generated 10 maplists with a cut off of 50 per mode (49 for CB to allow humpback)
#1
MAP | SZ | TC | RM | CB | TW | Total
New Albacore Hotel | 65 | | | 53 | | 2
Sturgeon Shipyard | | 67 | | 57 | | 2
Blackbelly Skatepark | | | 60 | | | 1
Inkblot Art Academy | | 72 | | 60 | | 2
Humpback Pump Track | 71 | | 64 | 49 | | 3
The Reef | | 61 | 59 | 62 | | 3
Snapper Canal | | 54 | 62 | | | 2
Wahoo World | 78 | 58 | | 53 | | 3
@HoeenCoder
HoeenCoder / skew-v2-samples.txt
Created September 12, 2020 03:50
Low Ink Map Generator Version 2 Test
# Skew Samples
# Generated 8 maps per mode using 14 maps, skipped Turf War (max 3 modes per map, min 1)
# Problems with generation appear before Done! If any.
# No number in a slot in a table = Not selected
# Number in a slot in a table = Select, the number is the weight for that combo.
# Higher number = more likely.
Done!
MAP | SZ | TC | RM | CB | TW | Total
Camp Triggerfish | 49 | | 41 | 39 | | 3
@HoeenCoder
HoeenCoder / isleofarmor.ts
Created June 18, 2020 04:34
Script for converting raw datamine & existing learnsets.ts file to new learnsets.ts - Mess atm, want to improve later as its too brittle for me.
import {FS} from '../../lib/fs';
// import {BattleLearnsets} from '../../data/learnsets';
const BattleLearnsets = require('../../.data-dist/learnsets').BattleLearnsets;
// TO HANDLE
/**
* "1" versions of pokemon
* different pokemon stages
* ???
*/
@HoeenCoder
HoeenCoder / safari-zone.js
Created January 6, 2020 18:33
PSJS Class Day 11 Assignment
/*
* Safari Zone
*
* The goal of this assignment is to simulate encoutering and catching pokemon in a safari-zone like enviroment.
* Unlike the safari zones of gen 3-4, the player will not have bait/rocks/mud to throw, the player will simply
* throw a pokeball. When checking if the pokemon is caught, your script should be using the same forumula's found
* in the game's themselves. I have linked resources to those in the instructions below.
*
* This assignment focuses on classes and sub classes.
*
@HoeenCoder
HoeenCoder / route.js
Created August 18, 2019 03:50
Pokemon Showdown & JavaScript Class Post-Stream Assignment - Day 7
/*
* Pokemon Route Simulation
*
* The goal of this assignment is to simulate a player walking through tall grass/a cave/surfing on water
* in a location in a pokemon game. This assignment is focused on Objects, Methods (Functions stored in an Object), and Arrays.
*
* Requirements [READ CAREFULLY]:
* You must have an object to contain information about the route/location that contains the following:
* - A name property that holds the location's name.
* - A property called grass OR cave OR water that contains an object.
@HoeenCoder
HoeenCoder / pokemart.js
Last active August 14, 2019 02:36
Pokemon Showdown & JavaScript Class Post-Stream Assignment - Day 6
/*
* The Pokemart
*
* This assignment has you working with Objects and Functions/Methods.
* The goal is to create code to represent a pokemart that sells items, and then
* simulate a player purchasing some items from the pokemart.
*
* Requirements [READ CAREFULLY]:
* The pokemart must be an Object containing at least 10 items. You can pick what
* items are sold and at what price.
@HoeenCoder
HoeenCoder / github.txt
Created August 10, 2019 21:21
Pokemon Showdown & JavaScript Class Post-Stream Assignment - Day 4
This assignment is simple. I want you to take all the assingments you have previously done, and use git to place them in
a repository you create on github. Link me the github repo once your done.
@HoeenCoder
HoeenCoder / focusMiss.js
Last active August 9, 2019 12:00
Pokemon Showdown & JavaScript Class Post-Stream Assignment - Day 3
/*
* The FocusMiss Script
* If you have ever played competetive pokemon and used a low accuracy move such as
* Focus Blast or Stone Edge, it always seems to miss at the worst times possible,
* or even worse just never hit. This script plays off of that concept.
* I want you to build on this template that I have written and calculate how many times
* Focus Blast (or another Pokemon move with 70 accuracy or less) hits in a row.
* To make this assignment work, you would need to use some JavaScript code that
* you have not learned yet, as a result I have written a small function for you
* that handles the parts that you have not learned yet. Please see the comment
@HoeenCoder
HoeenCoder / ludicolo.js
Last active August 9, 2019 11:50
Pokemon Showdown & JavaScript Class Post-Stream Assignment - Day 3
/*
* The Ludicolo Test
* This is a modified version of another popular test that checks if you can
* "code your way out of a wet paper bag". Basically its really simple and
* I'm assigning it to see if you understood this part's concepts.
*
* Instructions:
* Write a script that counts up from 1 to 100, including both 1 and 100 one number at a time.
* As you count up, log the current number to the console. However, if the current number
* is divisible by 4, print "Ludi" to the console, if the current number is divisible
@HoeenCoder
HoeenCoder / day2.js
Created August 7, 2019 21:49
Pokemon Showdown & JavaScript Class Post-Stream Assignments
/*
* Pokemon Showdown & JavaScript Class
* Day 2 - Basic Data Types
* Post-Stream Assignments
*
* This assignment sheet will give you a chance to work further with booleans,
* strings, numbers, variables, and some of the things you can do with them.
* If you want me to review what you have done for errors, fill this info out
* before sending me a copy (you can make gists too if you have a github account).
*