Michael Wilkie

@mwilki7 (1113)
crying because you dont put brackets around your case statements
mwilki7 (1113)
Canvas Platformer - HTML Canvas Game Engine
I have been working on this for about a year and have finally brought it into a semi-playable state. ![image](https://storage.googleapis.com/replit/i...
mwilki7 (1113)
Super Hexagon Clone
I've been dying to work on something other than my previous project, and I've been meaning to try this for a while now. This took me 2 and a half days...
mwilki7 (1113)
Canvas Piano
The virtual piano app has a number of problems that makes playing difficult. • Lack of sustain (wind and string instruments are useless) • Lack of cus...
mwilki7 (1113)
Fluid Simulator - Google's Liquidfun
I searched everywhere for sample javascript code for this (based on Box2D which is a C++ library) and finally found something functional. The only th...
mwilki7 (1113)
Canvas Basketball
Time your jump and shot to make it into the hoop. Press Space to jump, S to shoot F for solitaire mode W for walls C to clear screen of all balls D fo...
mwilki7 (1113)
SoftCPU - Assembly Programming
Ever wanted to write an assembly program on repl? Now you can do it with this program! An 8 MB file is used as memory and a place for the instruction...
mwilki7 (1113)
Code Golf - Rock Paper Scissors
I know this has been done on other sites before but I thought this would be a fun one to play with non-code-golfing languages. # Code Golf: Write the...
mwilki7 (1113)
#WEEKLY 10 - Bad UI Calculator
I have ~~devised~~ created a terr~~ible~~ific UI for a calculator. Conveniently drag and drop your number/operator ontop of the text area. This calcul...
mwilki7 (1113)
Pixel Battle
I wanted to do something with pixels so I decided to make a game where you watch pixels battle each other. The data contained to play the game is cont...
answered
mwilki7 (1113)
Can't sort Share by new
Is it me or is anyone else unable to load the Share page while sorting by new? I made a bug report https://repl.it/bugs/p/91819-cant-load-the-share-se...
mwilki7 (1113)
Pong
Play pong vs computer. Add as many balls as you want. Use arrow keys to control player. Fullscreen recommended. Post must be 100 characters long you s...
answered
mwilki7 (1113)
Connect to NodeJS Server
How do you get a client to connect to a nodejs server running on repl? I'm attempting to make something along the lines of a simple chat room with soc...
answered
mwilki7 (1113)
TypeScript Cannot find name for 'JSON'
I'm attempting to get a simple NodeJS server programmed in TypeScript to send a client a json string but I get this error message: ``` index.ts:17 app...
answered
mwilki7 (1113)
Storage used seems random?
This number seems to fluctuate per day, but now my storage has a mind of its own. Is this a bug? ![image](https://storage.googleapis.com/replit/image...
answered
mwilki7 (1113)
[HTML] How to add elements with absolute position relative to their parent?
How would I programmatically add <img> elements to a div with absolute positioning with respect to the div? I have tried `position: absolute` for the...
mwilki7 (1113)
JS Tree Fractal
I slightly modified the code from: https://workshops.hackclub.com/tree_machine/ to make its colors strobe through time.
answered
mwilki7 (1113)
Scroll direction, only on canvas?
I want to implement scrolling for some UI elements that I created for canvas. But all I see for the event handling is the 'wheel' event instead of 'wh...
mwilki7 (1113)
Marqueeify - The Marquee Chrome Extension
Have you ever wondered what you could do with a useless HTML element `<marquee`>? Now you paint your entire browsing experience with them as a chrome...
answered
mwilki7 (1113)
Get nodejs to wait for user input to console
How would I get nodejs to wait for me to enter something into the console? I am using 'readline' but it looks like it skips it anyway. Is this a repl...
mwilki7 (1113)
HTML5 - Make a two column layout with 2 canvases
I am trying to achieve this layout: ![image](https://storage.googleapis.com/replit/images/1579537040991_eec91529f8ee1df99e4f3c5b6c3b0a97.png) But I w...
answered
mwilki7 (1113)
nodejs Get random line from file
How do I get the contents of a text file to an array in nodejs? Here is my repl: https://repl.it/@mwilki7/nodejstest I'm trying to open a file, save t...
answered
mwilki7 (1113)
Use HTML with CoffeeScript/TypeScript?
Is there a way I can create a repl so that I can use CoffeeScript or TypeScript with HTML instead of JavaScript? I have a project with enough code tha...
answered
mwilki7 (1113)
How do I disable line-wrapping
Is there a way to disable line-wrapping so that I could use horizontal scrollbar instead? Seeing the lines out of order makes it difficult to quickly...
answered
mwilki7 (1113)
Parse JSON string to object array
I'm attempting to turn an existing array into a json string so that this string can be saved for loading and saving levels in my game. But when I par...
answered
mwilki7 (1113)
Are vectorized instructions supported?
I wanted to toy around with the vectorized instruction set (128/256/512 bit registers) but I can't seem to get this to compile. It generates this erro...
mwilki7 (1113)
HTML5/JavaScript performance slowdown
I'm working on a menu system for my JavaScript Canvas game. Press M to open the menu https://repl.it/@mwilki7/Canvas-Basketball The game works but th...
mwilki7 (1113)
#WEEKLY 4 Repl Challenge HTML5/Javascript
Here's my submission for the fourth weekly challenge formatting in html infuriates me as usual You can enter numbers as integers: 12345 or words: twe...
mwilki7 (1113)
Fourier Circles
I saw a really interesting video about a visual representation of Fourier Series. I really wish I saw this before learning about Fourier transforms. F...
mwilki7 (1113)
The Story Scrambler
This is the Story Scrambler. This takes a story template (like Mary Had a Little Lamb) and switches up the verbs, adjectives, and nouns. Create a new...
mwilki7 (1113)
Wistful-C by bkul and Maltysen
# https://github.com/Nazek42/wistful-c ## This is not my work I wanted to share this with you guys because I thought it was a hilarious programming...