Programs to practice coding

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
Sosolol261
Party member
Posts: 125
Joined: Wed Nov 26, 2014 6:43 am

Programs to practice coding

Post by Sosolol261 »

I was bored and didn't know what to code. The current project i am working on, is quite big so I don't want to work on it EVERYtime sooo...

I am searching for REALLY simple but challenging programs.
If you know what I mean..

Thanks for your help :D
User avatar
nfey
Citizen
Posts: 63
Joined: Tue Feb 18, 2014 9:50 am
Location: Romania

Re: Programs to practice coding

Post by nfey »

Check out www.codewars.com. It's an interactive problem-solving platform. You choose the programming language and problem and then use the web-based application to write/test your code. You can find problems ranging from the kind that are solved with short one liners to others that need specific algorithms implemented.
It doesn't offer Lua support atm but you can select it as a "please implement this" vote of confidence.
Sosolol261
Party member
Posts: 125
Joined: Wed Nov 26, 2014 6:43 am

Re: Programs to practice coding

Post by Sosolol261 »

nfey wrote:Check out http://www.codewars.com. It's an interactive problem-solving platform. You choose the programming language and problem and then use the web-based application to write/test your code. You can find problems ranging from the kind that are solved with short one liners to others that need specific algorithms implemented.
It doesn't offer Lua support atm but you can select it as a "please implement this" vote of confidence.
I was rather looking for little projects to work on nut thank you for your advice!!!
User avatar
Duster
Prole
Posts: 32
Joined: Fri Dec 19, 2014 8:34 pm
Location: Ontario, Canada

Re: Programs to practice coding

Post by Duster »

Some are much more difficult than others, but this is a good list.
https://love2d.org/imgmirrur/a3IJgmu.png
User avatar
rmcode
Party member
Posts: 454
Joined: Tue Jul 15, 2014 12:04 pm
Location: Germany
Contact:

Re: Programs to practice coding

Post by rmcode »

Sosolol261 wrote:I am searching for REALLY simple but challenging programs.
I'm not quite sure how something can be REALLY simple and challenging at the same time, but this page has some fairly easy examples (using Processing):
http://funprogramming.org/
User avatar
Evine
Citizen
Posts: 72
Joined: Wed May 28, 2014 11:46 pm

Re: Programs to practice coding

Post by Evine »

I'm having fun with some instant self loading code. So much fun.

Very minimal example.

Code: Select all

 --Put this in main.lua
function love.update(dt)
	main = love.filesystem.load("main.lua")
	main()
end
Artal, A .PSD loader: https://github.com/EvineDev/Artal
Muris
Party member
Posts: 131
Joined: Fri May 23, 2014 9:18 am

Re: Programs to practice coding

Post by Muris »

I think something smart would be like thinking what kind of subsystem your project needs, then choosing a small project out of it. Like lets say I would need to program some AI, I could create another project just to fiddle around how AI should work, and later on when getting back to main project just derivate the one I made to "take time off" from main project.

Also if possible, seeing how your ai would play the game for example, assuming that youre making a game, you might even realise some interesting aspects about your own game, that you never actually thought before.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 38 guests