Naughts and Crosses - LuaController for Minetest
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
button_controller.lua
display_controller.lua
reset_controller.lua
screenshot.png

README.md

Naughts and Crosses - LuaController for Minetest

Create a game of Naughts and Crosses

Screenshot

Depends

Items Required

  • 100x LuaController (mesecons_luacontroller:luacontroller)
  • 19x Button (mesecons_button:button_off)
  • 81x Lightstone (mesecons_lightstone:lightstone_blue_off)
  • 200x (approx) Digilines Wire (digilines:wire_std)

How-To

  • Place 9 LuaControllers for each player (see button_controller.lua)
  • Place 1 LuaController for the reset button (see reset_controller.lua)
  • Place a Button in front of each of the button controllers and the reset controller.
  • Place 9 LuaControllers for each of the 9 displays (see display_controller.lua)
  • Place a Lightstone in front of each of the display controllers
  • Connect everything with Digilines Wire

To-Do

  • Prevent player from changing already selected position
  • Winner detection

Resources

Support

About

This module is open source, so it's distributed freely. If you find it useful then I ask not for your wealth, but simply to spare your time to consider the world we share by watching Earthlings, a multi-award winning film available to watch online for free. A must-see for anyone who wishes to make the world a better place.

License

BSD-3-Clause, Copyright © 2013-2014 Brett O'Donnell