Cthulhu Project : Let's Make Unmaintainable Code

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
Roland_Yonaba
Inner party member
Posts: 1563
Joined: Tue Jun 21, 2011 6:08 pm
Location: Ouagadougou (Burkina Faso)
Contact:

Cthulhu Project : Let's Make Unmaintainable Code

Post by Roland_Yonaba »

I came across this.
I found it awesome.
Then I thought,
Why not doing the same kind of contest here ?
On the Löve forums ?
We have all it takes to achieve that.
A nice framework named Löve
A wonderful scripting language named Lua
And Loads of psychopaths talented coders.
Let's come up with our own Cthulhu project.

EDIT: Find the guidelines here.
Last edited by Roland_Yonaba on Mon Nov 04, 2013 6:20 pm, edited 1 time in total.
bekey
Party member
Posts: 255
Joined: Tue Sep 03, 2013 6:27 pm

[]

Post by bekey »

-snip-
Last edited by bekey on Fri Jan 24, 2014 2:06 am, edited 1 time in total.
User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

Re: Cthulhu Project : Let's Make Unmaintainable Code

Post by T-Bone »

Lua isn't quite as well prepared for something like this. We don't have gotos etc. But writing bad code can be fun anyway :)
User avatar
Roland_Yonaba
Inner party member
Posts: 1563
Joined: Tue Jun 21, 2011 6:08 pm
Location: Ouagadougou (Burkina Faso)
Contact:

Re: Cthulhu Project : Let's Make Unmaintainable Code

Post by Roland_Yonaba »

Well, we can start chosing a date, a duration, define some rules.
I may have some ideas, i'll post them when I got them ordered in my mind. :)
T-Bone wrote:Lua isn't quite as well prepared for something like this. We don't have gotos etc. But writing bad code can be fun anyway :)
Lua 5.2 has goto, indeed.
jjmafiae
Party member
Posts: 1331
Joined: Tue Jul 24, 2012 8:22 am

Re: Cthulhu Project : Let's Make Unmaintainable Code

Post by jjmafiae »

so its a project about making bad codes?
User avatar
micha
Inner party member
Posts: 1083
Joined: Wed Sep 26, 2012 5:13 pm

Re: Cthulhu Project : Let's Make Unmaintainable Code

Post by micha »

No, it's a projects about writing a game together in the community, with the extra rule that you may not change existing code, but only add new code. The unmaintainability is more a result than a rule.
User avatar
Plu
Inner party member
Posts: 722
Joined: Fri Mar 15, 2013 9:36 pm

Re: Cthulhu Project : Let's Make Unmaintainable Code

Post by Plu »

With the option to swap out functions on demand and override any kind of variable with anything else, I think we can make quite a mess. Sounds like fun.
User avatar
Sheepolution
Party member
Posts: 264
Joined: Mon Mar 04, 2013 9:31 am
Location: The Netherlands
Contact:

Re: Cthulhu Project : Let's Make Unmaintainable Code

Post by Sheepolution »

Sounds interesting! I feel like this could be very instructive if we would give each other feedback on the pieces of code we write.
User avatar
Roland_Yonaba
Inner party member
Posts: 1563
Joined: Tue Jun 21, 2011 6:08 pm
Location: Ouagadougou (Burkina Faso)
Contact:

Re: Cthulhu Project : Let's Make Unmaintainable Code

Post by Roland_Yonaba »

Guidelines:

Okay here are some guidelines. It is a just a proposal, we can debate on some points.
I took some inspirations from the original idea.

Participants:
Everyone is free to participate. I suggest using Git and Github as a VCS. Basically,
I can create an organisation (why not "Löve Cthulhu"), and add anyone who want to be in.
Then we set a repository for the current project, and we start pushing commits.

Duration:
Once started, the show will take place for 3 days.

Objective:
We will be all aiming to make a playable game prototype.
We do not have a general theme, and we do not know what we will come up with,
but we are striving to to have something fun in the end.

Project License:
The project itself (source code and assets) have to be licensed.
Suggestions: MIT ? GPL ? zLib ?

Code:
- A minimal code will be provided (by me), but it will be nothing constraining.
- All the source code will lie in a single file, named main.lua.
- A conf.lua file is provided for start, and should remain untouched.
- Everyone can push new code in main.lua
- Existing source code can be altered, but it has to be specific and conservative as much as possible.
  • Change numeric/string values
  • Add/remove a new clause to a conditional statement
  • Extend existing functions to support additional parameters
  • Comment code
  • Do not override existing user-defined functions
  • Do not alter Lua's standard libraries and environment (if you need new functions, write them).
Committing rules:
- Each commit results in a new version of the project.
- You must submit valid code (i.e. your code must not crash).
- When pushing code, make sure that you are committing over the latest version. If someone just pushed
something, clone the latest sources and restage our changes over before pushing again.
- You should not commit twice (or more) in a row.

Assets:
- You are free to use/include any types of assets (images, sounds, fonts).
- Those assets have to be free of copyright restrictions.

Librairies:
- No libraries/dependency (pure Lua or external *.dlls/ *.so) allowed. If you need a specific feature which is not provided by Lua's standard libraries, write it on your own.
Last edited by Roland_Yonaba on Tue Nov 05, 2013 7:48 am, edited 1 time in total.
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: Cthulhu Project : Let's Make Unmaintainable Code

Post by Nixola »

What if I wanted to add a lbrary written by me? Do I have to copypaste it in?
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Post Reply

Who is online

Users browsing this forum: Nabeel, veethree and 60 guests