Snaketorio


Snake game inside factorio.

4 years ago
0.17
7
Owner:
grilledham
Source:
https://github.com/grilledham/Snaketorio
Homepage:
https://github.com/grilledham/Snaketorio
License:
MIT
Created:
4 years ago
Latest Version:
1.0.1 (4 years ago)
Factorio version:
0.17
Downloaded by:
7 users

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')