mirror of
				https://github.com/LDDestroier/CC/
				synced 2025-10-31 07:22:59 +00:00 
			
		
		
		
	Update tron
This commit is contained in:
		
							
								
								
									
										28
									
								
								tron
									
									
									
									
									
								
							
							
						
						
									
										28
									
								
								tron
									
									
									
									
									
								
							| @@ -461,6 +461,21 @@ local moveTick = function() | ||||
| 	ageTrails() | ||||
| end | ||||
|  | ||||
| local modem = peripheral.find("modem") | ||||
|  | ||||
| if modem then | ||||
| 	modem.open(modemID) | ||||
| else | ||||
| 	error("You need a modem.") | ||||
| end | ||||
|  | ||||
| local sendInfo = function(gameID) | ||||
| 	modem.transmit(modemID, modemID, { | ||||
| 		player = player, | ||||
| 		gameID = gameID | ||||
| 	}) | ||||
| end | ||||
|  | ||||
| local game = function() | ||||
| 	local p = player[you] | ||||
| 	local outcome | ||||
| @@ -509,19 +524,6 @@ local game = function() | ||||
| end | ||||
|  | ||||
| local decision | ||||
| local modem = peripheral.find("modem") | ||||
| if modem then | ||||
| 	modem.open(modemID) | ||||
| else | ||||
| 	error("You need a modem.") | ||||
| end | ||||
|  | ||||
| local sendInfo = function(gameID) | ||||
| 	modem.transmit(modemID, modemID, { | ||||
| 		player = player, | ||||
| 		gameID = gameID | ||||
| 	}) | ||||
| end | ||||
|  | ||||
| local networking = function() | ||||
| 	local evt, side, channel, repchannel, msg, distance | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 LDDestroier
					LDDestroier