
gnuWorldOrder_13x2
About this episode
Lister feedback, a new book, Lua, Luarocks, and much more.
`
--[[ GNU All-Permissive License
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved. This file is offered as-is,
without any warranty.
https://www.gnu.org/licenses/license-list.en.html ]]--
-- main.lua
vw = 720
vh = 480
function love.load()
-- loads once at launch
love.window.setMode(vw,vh,{resizable=false, vsync=false})
love.window.setTitle('Dice')
math.randomseed(os.time())
computer = math.random(1,20)
player = math.random(1,20)
end
function love.draw()
love.graphics.setColor(255, 255, 255)
if player > computer then
love.graphics.printf("Player wins!",0,vh*0.5,vw*0.5, 'center')
else
love.graphics.printf("Computer wins!",0,vh*0.5,vw*0.5, 'center')
end
end
`
shasum -a256=68437e0263a4f099d134c9753ca702e10ad64b5d57681f2fcafe7f99d2a50033
More from GNU World Order Linux Cast
nethack from the y software set of Slackware Linux. Also, this is the final episode of the show. Thanks for a decade of support and friendship. shasum -a256=651b53e545c6a2992a5eaa8a306058dba6f5f826ac9…
strfile , fortune , adventure , arithmetic , atc , backgammon and teachgammon , banner , battlestar , bcd and morse and ppt , caesar and rot13 , canfield , countmail , cribbage , dab , factor , gofish…
thunar , thunar-volman , tumbler , xfce4-appfinder , xfce4-clipman-plugin , xfce4-dev-tools , xfce4-notifyd , xfce4-panel , xfce4-panel-profiles , xfce4-power-manager , xfce4-pulseaudio-plugin , xfce4…
xlockmore , xmms , xpaint , xpdf , xsane , xscreensaver , xsnow , Greybird , elementary-xfce , exo , garcon , libxfce4ui , libxfce4util , mousepad software set of Slackware Linux. shasum -a256=d528910…
seamonkey , seyon , ssr , vim-gvim , windowmaker , x11-ssh-askpass , x3270 , xaos , xgames , xine-lib , xine-ui from the xap software set of Slackware Linux. shasum -a256=93c563d8660d95141f9c811068ae4…