This file contains 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
:beginning | |
@echo off | |
setlocal EnableDelayedExpansion | |
if not exist wordlist.txt goto:nolist | |
if exist rememberedwords.temp if exist gameinfo.temp goto:foundgame | |
:menu | |
cls | |
echo Sean's Word memory game | |
echo [1] Normal game (3 lives) |
This file contains 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
# Quick n dirty Python script for creating pitch wheel events to channels in a midi file | |
# Made approx. in late 2023 | |
import mido | |
import easing_functions | |
import math | |
def oscillate_function(waveform, t, amplitude, period, phase_shift=0, vertical_shift=0): | |
t += phase_shift | |
functions = { |
This file contains 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
:: Batch ALARM by Sean | |
:: | |
:: Update 24/01/2021: | |
:: ├─Fixed the time variable having a space for the hour value | |
:: └─Added a choice to exit and retry when in alarm | |
:: | |
:: Update 29/01/2021: | |
:: ├─Made detecting input make use of the FOR command instead of extracting parts of a variable | |
:: ├─You can now set your custom input delimiter below | |
:: ├─You can now add parameters for settings |
This file contains 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
:: Batch RPS ASCII by Sean | |
:: RPS ASCII art from https://gist.github.com/wynand1004/b5c521ea8392e9c6bfe101b025c39abe by Christian Thompson or "wynand1004" | |
@echo off | |
title Rock Paper Scissors | |
set notrandomperm=0 | |
set "ping=%systemroot%\system32\ping.exe" | |
set "choice=%systemroot%\system32\choice.exe" | |
if not exist "%ping%" set _nocmd=ping & goto:nosup | |
if not exist "%choice%" set _nocmd=choice & goto:nosup |