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
public static int[][] rooms = new int[100][100]; | |
public static void generate() | |
{ | |
Random rndgen = new Random(); | |
for(int i = 0; i <= 99; i++) | |
{ | |
for(int j = 0; j <= 99; j++) |
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
package com.bitbit.minild59.codes.main; | |
import java.awt.image.BufferedImage; | |
import java.io.IOException; | |
import java.net.URL; | |
import javax.imageio.ImageIO; | |
public class LoadSprites | |
{ |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>codewread</title> | |
<script src="codemirror-4.10/lib/codemirror.js"></script> | |
<link rel="stylesheet" href="codemirror-4.10/lib/codemirror.css"> | |
<script src="codemirror-4.10/mode/javascript/javascript.js"></script> | |
<style> | |
#comment | |
{ |
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
//Maybe use Bitmap | |
private static Image[] frameArray; | |
public static Image active_frame; | |
public static int active_frame_number; | |
public sprite(Image[] frame_array) | |
{ | |
frameArray = frame_array; | |
active_frame_number = 0 | |
active_frame = frameArray[active_frame_number]; |
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
//Assumed this was a console app | |
readAString() | |
{ | |
Console.WriteLine("Type in a word and BE AMAZED!"); | |
string input = Console.ReadLine; | |
Console.WriteLine(Convert.ToString(countVowels(input)) + " vowels. Now you know!"); | |
Console.ReadKey(); | |
//Not sure how isVowel fits in here but you get the idea | |
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://code.createjs.com/easeljs-0.7.0.min.js"></script> | |
<script> | |
function init() { | |
// code here. | |
} | |
</script> | |
</head> |
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
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="da" lang="en"> | |
<head> | |
<title>Login</title> | |
</head> | |
<body> | |
<script type="text/javascript"> | |
function CheckPassword() | |
{ | |
var username=document.login.username.value; |
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
<html> | |
<head> | |
<script type="text/javascript"> | |
window.onload = draw; | |
function draw(){ |