http://jsfiddle.net/vt5RK/14/ http://jsfiddle.net/vt5RK/20/
home-version http://jsfiddle.net/9hqmn/
| <!doctype html> | |
| <html> | |
| <head> | |
| <style type="text/css"> | |
| .code | |
| { | |
| width: 100%; | |
| height: 256px; | |
| padding: 0 0 0 0; | |
| border: 4; |
| <!DOCTYPE html> | |
| <!-- | |
| Created using JS Bin | |
| http://jsbin.com | |
| Copyright (c) 2018 by anonymous (http://jsbin.com/ihigih/9/edit) | |
| Released under the MIT license: http://jsbin.mit-license.org | |
| --> | |
| <meta name="robots" content="noindex"> |
| <!DOCTYPE html> | |
| <!-- | |
| Created using JS Bin | |
| http://jsbin.com | |
| Copyright (c) 2018 by anonymous (http://jsbin.com/elupif/25/edit) | |
| Released under the MIT license: http://jsbin.mit-license.org | |
| --> | |
| <meta name="robots" content="noindex"> |
| ; | |
| ; MATCH 3 Game | |
| ; | |
| ; (c) 2018 - Paul C. Isaac | |
| ; | |
| ; Match three or more tiles of the same color | |
| ; horizontally to collapse blocks and score points. | |
| ; This 6502 assembly code runs in Easy6502 simulator | |
| ; Game renders to a 32 x 32 pixel 16 color screen |
I tried to make a 140-byte version of the Centipede arcade game. I'm stuck around 300 characters and don't think I can get it much smaller without compromising the game.
I wanted to create a tiny JavaScript adventure game with old-school text graphics.
I originally considered if it could fit in 140-bytes, but once I got the initial version working and it weighed in around 1013 characters for the main logic, I knew that wasn't going to happen.
I also built an alternate display system using HTML5 Canvas graphics that you can see side-by-side. It took me a while to work out how to embed small tile images into the script.
| The "WTH" Public License | |
| Copyright (C) 2012 Paul Isaac | |
| Everyone is permitted to copy and distribute verbatim or modified | |
| copies of this license document, and changing it is allowed as long | |
| as the name is changed. | |
| #. You can do whatever-the-heck you like with this code. |
| The "WTH" Public License | |
| Copyright (C) 2012 Paul Isaac | |
| Everyone is permitted to copy and distribute verbatim or modified | |
| copies of this license document, and changing it is allowed as long | |
| as the name is changed. | |
| #. You can do whatever-the-heck you like with this code. |
| DO WHAT THE HECK YOU WANT TO PUBLIC LICENSE | |
| Version 3, February 2012 | |
| Copyright (C) 2012 -- Mr. P. ISAAC | |
| Everyone is permitted to copy and distribute verbatim or modified | |
| copies of this license document, and changing it is allowed as long | |
| as the name is changed. | |
| DO WHAT THE HECK YOU WANT TO PUBLIC LICENSE |