The Hello World Challenge

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
bobbyjones
Party member
Posts: 730
Joined: Sat Apr 26, 2014 7:46 pm

The Hello World Challenge

Post by bobbyjones »

Hello guys and gals, I would like to issue a Hello World Challenge. This community is made up of noobs and pros and I think a Hello World Challenge would be a wonderful way to show off our creativity rather than just skills.

What is a Hello World Challenge you may ask?

A Hello World Challenge is like a game jam but with out the game part. The point of this is to be an exercise for the noobs and a show-off project for the experienced. Basically you make an hello world example from scratch with no pictures other than generated in the example. Other than that you can run wild with this exercise.

One question for yall though.

Should I make this jam more official with an actual deadline and itch.io jam thing (Trust me thing is the proper term lol) or I was thinking maybe just make this a thread where everyone post a hello world project.
Which do yall prefer?
User avatar
micha
Inner party member
Posts: 1083
Joined: Wed Sep 26, 2012 5:13 pm

Re: The Hello World Challenge

Post by micha »

"Just making a thread" worked very well in the "Code doodle"-thread. If you go ahead and post a first hello-world example, this might encourage people to follow and submit their idea.
User avatar
josefnpat
Inner party member
Posts: 955
Joined: Wed Oct 05, 2011 1:36 am
Location: your basement
Contact:

Re: The Hello World Challenge

Post by josefnpat »

I present my submission:

Code: Select all

fonts = {}
for i = 6,64 do
  table.insert(fonts,love.graphics.newFont(i))
end
function love.draw()
  for i = 1,200 do
    love.graphics.setFont(fonts[math.random(1,#fonts)])
    love.graphics.setColor(
      math.random(0,255),
      math.random(0,255),
      math.random(0,255))
    love.graphics.print("WHAT",
      math.random(0,love.graphics.getWidth()),
      math.random(0,love.graphics.getHeight()),
      math.random()*math.pi*2)
  end
end
edit: what? I entirely don't understand this thread.
Missing Sentinel Software | Twitter

FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], pgimeno and 3 guests