nngn
Loading...
Searching...
No Matches
chess.lua File Reference

Variables

local camera< const > = require "nngn.lib.camera"
 
local entity< const > = require "nngn.lib.entity"
 
local input< const > = require "nngn.lib.input"
 
local state< const > = require "nngn.lib.state"
 
local utils< const > = require "nngn.lib.utils"
 
local IS_LOWER< const > = 0x20
 
local PIECE_PAWN< const > = string.byte("P")
 
local PIECE_ROOK< const > = string.byte("R")
 
local PIECE_KNIGHT< const > = string.byte("N")
 
local PIECE_BISHOP< const > = string.byte("B")
 
local PIECE_QUEEN< const > = string.byte("Q")
 
local PIECE_KING< const > = string.byte("K")
 
local MOVE< const > = 1 << 0
 
local CAPTURE< const > = 1 << 1
 
local board_init< const > =
 

Variable Documentation

◆ board_init< const >

local board_init< const > =

◆ camera< const >

local camera< const > = require "nngn.lib.camera"

◆ CAPTURE< const >

local CAPTURE< const > = 1 << 1

◆ entity< const >

local entity< const > = require "nngn.lib.entity"

◆ input< const >

local input< const > = require "nngn.lib.input"

◆ IS_LOWER< const >

local IS_LOWER< const > = 0x20

◆ MOVE< const >

local MOVE< const > = 1 << 0

◆ PIECE_BISHOP< const >

local PIECE_BISHOP< const > = string.byte("B")

◆ PIECE_KING< const >

local PIECE_KING< const > = string.byte("K")

◆ PIECE_KNIGHT< const >

local PIECE_KNIGHT< const > = string.byte("N")

◆ PIECE_PAWN< const >

local PIECE_PAWN< const > = string.byte("P")

◆ PIECE_QUEEN< const >

local PIECE_QUEEN< const > = string.byte("Q")

◆ PIECE_ROOK< const >

local PIECE_ROOK< const > = string.byte("R")

◆ state< const >

local state< const > = require "nngn.lib.state"

◆ utils< const >

local utils< const > = require "nngn.lib.utils"