Skip to content
This repository has been archived by the owner on Aug 2, 2020. It is now read-only.
/ LDroll Public archive

A dice roller (language) implemented in Lua.

License

Notifications You must be signed in to change notification settings

etandel/LDroll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LDroll is a dice roller that can make virtually any number of rolls of almost any type of die (999d87 is a valid roll). It's language can also perform simple processing (such as summming all rolls, getting the biggest roll etc.) and is available as a library.

It is implemented on the awesome language Lua (version 5.1), so - of course - to install it you need Lua 5.1 (www.lua.org). Actually, you don't need to perform any sort of installation, since to run LDroll, you just do 'lua main.lua" in your terminal and let the Lua interpreter do its job.


The program has 3 files:
"main.lua" is where the main program is (which is minimal).
"parser.lua" is where the parser for ldroll's language is.
"ldroll.lua" is where all the function definitions are, which means it's where all the LDroll mojo dwells.


Copyright (C) 2011 Elias Tandel Barrionovo <elias.tandel@gmail.com>

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

About

A dice roller (language) implemented in Lua.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages