Snaketorio


Snake game inside factorio.

1 year, 2 months ago
0.17
59
Owner:
grilledham
Source:
grilledham/Snaketorio
Homepage:
https://github.com/grilledham/Snaketorio
License:
MIT
Created:
1 year, 2 months ago
Latest Version:
1.0.1 (1 year, 2 months ago)
Factorio version:
0.17
Downloaded:
59 times

Snake game inside factorio.

Run command to start game

/c 
local surface = game.player.surface
local pos = game.player.position
pos = {x = math.floor(pos.x + 2), y = math.floor(pos.y + 2)}
local size = 15
local update_rate = 30
local max_food = 6
remote.call('snake', 'start_game', surface, pos, size, update_rate, max_food)

Click Snake button at top to join game.

To stop the game run

/c remote.call('snake', 'end_game')