This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Simple random cube building scripts | |
# You have to download the Oracle card from https://scryfall.com/docs/api/bulk-data | |
# The land / spell ratio can be tuned below | |
# | |
# Requirements | |
# python 3.x | |
# ijson | |
import ijson | |
import random |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.magma.game.noise; | |
import java.util.Random; | |
public class NoiseGenerator { | |
private Random rdm; | |
public NoiseGenerator(){ | |
this(0); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[ | |
testing out the joystick API | |
]]-- | |
--initialize the joysticks | |
local joysticks = love.joystick.getJoysticks() | |
function love.load() | |
for i, joystick in ipairs(joysticks) do |