Akari is a puzzle game, you need to put the lights in the free cells to light all the room. rules are simple: a numbered cell means you must to put that number of lights just side to that cell.
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
fun naranjas(n:int) = | |
let fun funcion_auxiliar(numero, acumulador) = | |
if numero = 0 then | |
acumulador | |
else | |
funcion_auxiliar(numero - 1, acumulador * numero) | |
in | |
funcion_auxiliar(n, 1) | |
end; |
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>Canvas Background</title> | |
</head> | |
<body> | |
<header> | |
<h1>Hello canvas background</h1> | |
</header> |
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
#!/usr/bin/python | |
import sys | |
import Image | |
from midiutil.MidiGenerator import MidiGenerator | |
from midiutil.TrackGen import LoopingArray | |
filename = sys.argv[1] | |
midifilename = filename[0:filename.find('.')]+'.midi' |
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>The Game</title> | |
</head> | |
<body> | |
<canvas id="board" width='700' height='600'></canvas> | |
<script src="http://code.jquery.com/jquery-1.9.1.js"></script> | |
<script> |
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>The Game</title> | |
</head> | |
<body> | |
<canvas id="board" width='700' height='600'></canvas> | |
<script src="http://code.jquery.com/jquery-1.9.1.js"></script> | |
<script> |
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
function ordenar(numeros){ | |
for(var i=0; i<numeros.length; i++){ | |
numeros[i] = parseInt(numeros[i]); | |
} | |
for(i=0; i<numeros.length; i++){ | |
for(var j=0; j<numeros.length-1; j++){ | |
if(numeros[j] > numeros[j+1]){ | |
var tmp = numeros[j+1]; | |
numeros[j+1] = numeros[j]; |
Forked from Giovanny's Pen Pixel art Experiments.
Forked from Captain Anonymous's Pen Pixel art Experiments.
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
Estado del Arte desarrollo de videojuegos en HTML5 | |
-- Capacidades en el browser | |
- canvas | |
- webgl | |
- dispositivos de entrada | |
- key events | |
- mouse events | |
- usermedia: http://www.html5rocks.com/es/tutorials/getusermedia/intro/ | |
- mic |
OlderNewer