Skip to content

Instantly share code, notes, and snippets.

View MarksCode's full-sized avatar

Ron Marks MarksCode

View GitHub Profile
Call me Ishmael. Some years ago--never mind how long
precisely--having little or no money in my purse, and nothing
particular to interest me on shore, I thought I would sail about a
little and see the watery part of the world. It is a way I have of
driving off the spleen and regulating the circulation. Whenever I
find myself growing grim about the mouth; whenever it is a damp,
drizzly November in my soul; whenever I find myself involuntarily
pausing before coffin warehouses, and bringing up the rear of every
funeral I meet; and especially whenever my hypos get such an upper
hand of me, that it requires a strong moral principle to prevent me
/*********************************************************************/
/* Program: Markov ChainMaker */
/* Author: Ron Marks */
/* */
/* This programs applies Markov chains to textual input in order to */
/* generate not-quite-random sentences and words. */
/* */
/* */
/* Input: */
/* Text file as args0 */
<!-- TagPro Powerup Timer Script -->
<!-- by Ron Marks -->
<!-- Sections for each map, buttons align with where powerups are for corresponding map. -->
<!-- Label will alert you when powerup is about to spawn! -->
<!DOCTYPE html>
<html>
<body bgcolor="cyan">
<h1><center>TagPro Powerup Timer</h1>
/**********************/
/* Integer Sorter */
/* by Ron Marks */
/* */
/* This program sorts */
/* a list of integers */
/* the user types in. */
/**********************/
import java.util.Scanner;
/**********************/
/* Prime Numbers */
/* by Ron Marks */
/* */
/* This program finds */
/* out if an integer */
/* typed in is prime. */
/* */
/* Limitation: */
/* Up to ~250,000 */
GDD: (Updated Jul 9) by Ron Marks
Objective: The goal of my game is to navigate your character, a ball, to the end zone by drawing platforms to roll on to dodge stationary spikes.
Core Loop: Open App → Awarded with coins?, go to shop?, try beat a few levels, unlock new levels, awarded with coins?, go to shop?.
Level Design: A typical level will have a start and end zone, with chunks of platforms missing for the player to fill in before starting to roll through towards the end. “No-Draw Zones” will become an issue to deal with for the player as well as spikes.
Technical: The controls will be tilting for moving, with an option for buttons. Drawing platforms is as simple as dragging your finger. The main menu will have a store where the player can buy skins, and a button to go to the level selector. There will be different worlds with about 10-15 levels each. I’ll need a character, platform, main scene, gameplay, and a store class, but initially I won’t include the store.
GDD: (Updated Jul 9) by Ron Marks
Objective: The goal of my game is to navigate your character, a ball, to the end zone by drawing platforms to roll on to dodge stationary spikes.
Core Loop: Open App → Awarded with coins?, go to shop?, try beat a few levels, unlock new levels, awarded with coins?, go to shop?.
Level Design: A typical level will have a start and end zone, with chunks of platforms missing for the player to fill in before starting to roll through towards the end. “No-Draw Zones” will become an issue to deal with for the player as well as spikes.
Technical: The controls will be tilting for moving, with an option for buttons. Drawing platforms is as simple as dragging your finger. The main menu will have a store where the player can buy skins, and a button to go to the level selector. There will be different worlds with about 10-15 levels each. I’ll need a character, platform, main scene, gameplay, and a store class, but initially I won’t include the store.
@MarksCode
MarksCode / MouseMover.js
Last active January 10, 2016 03:34
Tagpro Mouse Mover
// ==UserScript==
// @name Mouse Mover
// @version 1.0
// @include http://*.koalabeast.com:*
// @include http://*.jukejuice.com:*
// @include http://*.newcompte.*
// @author Capernicus
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js
// ==/UserScript==
import string
######## Begin code which needs to be modified ##########
# Implementation 1
class MyChainDict(object):
def __init__(self):
self.dictSize = 10000
self.mydict = []
for i in range(self.dictSize):
import string
import numpy as np
######## Begin code which needs to be modified ##########
# Implementation 1
class MyChainDict(object):
def __init__(self):
self.dictSize = 10000
self.mydict = []
for i in range(self.dictSize):