mirror of
				https://github.com/flynx/Slang.git
				synced 2025-10-31 11:30:13 +00:00 
			
		
		
		
	...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									6915ac6158
								
							
						
					
					
						commit
						3afafe9a4f
					
				| @ -216,6 +216,10 @@ function test(game){ | |||||||
| // XXX keyboard controller... | // XXX keyboard controller... | ||||||
| //		- press two buttons in under N milliseconds to launch a snake | //		- press two buttons in under N milliseconds to launch a snake | ||||||
| //		- first button pressed is left, second is right | //		- first button pressed is left, second is right | ||||||
|  | // XXX should the cfg be global or local to Snake??? | ||||||
|  | //		...at this point global seems simpler... | ||||||
|  | var KEY_CONFIG = { | ||||||
|  | } | ||||||
| function kbHandler(event){ | function kbHandler(event){ | ||||||
| 	// XXX | 	// XXX | ||||||
| } | } | ||||||
| @ -226,6 +230,7 @@ function setup(){ | |||||||
| 	Snake('.snake') | 	Snake('.snake') | ||||||
| 		// setup base level... | 		// setup base level... | ||||||
| 		// XXX | 		// XXX | ||||||
|  | 		.wall(2, 14, 's', 7) | ||||||
| 
 | 
 | ||||||
| 		.start() | 		.start() | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user