Play
Multi-Player
Coins
Community
Settings
Help
Community   Maps   Forum   Mail   Ladders   Clans   Recent Games
Sign In | Sign Up
<< Back to Programming Forum   

Posts 1 - 13 of 13   
What if I wanted to try CLOT making too...: 12/2/2015 02:27:10


NinjaNic 
Level 57
Report
Hey guys!

I program in VB so I don't think that's gonna help me here...
How easy actually is CLOT making? I know for the more experienced folk, they'd say it's a cinch. Is it possible for someone with no programming experience in java script to attempt something like this? Also, is it rude to ask for complete CLOT code just so I could dissect and play around with it? Of course, I'd give the creator credit for his work.
Anyway, thanks.

Nic
What if I wanted to try CLOT making too...: 12/2/2015 02:32:30


Benjamin628 
Level 59
Report
Also, is it rude to ask for complete CLOT code just so I could dissect and play around with it?

Not at all. This isn't my code, but it is publicly linked, so here is just about all you need code-wise.

https://www.github.com/Deadman1
What if I wanted to try CLOT making too...: 12/2/2015 02:32:57


knyte 
Level 58
Report
MOTD's CLOT code is public: https://github.com/deadman1/mdladder

You can take that and build a functioning CLOT out of the box with near-zero modification (just changing a few constants, that's about it).
What if I wanted to try CLOT making too...: 12/2/2015 02:33:28


Benjamin628 
Level 59
Report
Life Goal accomplished... reply faster than Knyte.

Edited 12/2/2015 02:33:42
What if I wanted to try CLOT making too...: 12/2/2015 02:37:13


NinjaNic 
Level 57
Report
All right, thank you guys. I checked out this thread: ( https://www.warlight.net/Forum/5665-clot-phpjavascript-non-programmers ) but I still am unsure of how to put a completed ladder online. I somewhere heard about a "Google Apps" kind of thing.
What if I wanted to try CLOT making too...: 12/2/2015 02:51:28


knyte 
Level 58
Report
Yes, check out Google App Engine. I'd recommend setting up the Python/Flask environment locally (just walk through their Hello World tutorial and deploy that online). It's very basic once you can get that working- you can just modify MOTD's code (let me know if you need help navigating it) and upload your revisions on your app page.

Oh, and you also need to set up authentication on the WL end (just give them the link to your CLOT so they can redirect when people follow your authentication URL).
What if I wanted to try CLOT making too...: 12/2/2015 03:41:43


Beren • apex 
Level 62
Report
Also you have to have a membership in order to have the CLoT connect to Warlight.
What if I wanted to try CLOT making too...: 12/2/2015 04:22:10


NinjaNic 
Level 57
Report
@Knyte: Ok. Well, I haven't done anything yet and I'll let you know if I need some help.
@Beren: Oh, darn. I might have to actually get one if I figure out this app thing.
Thanks to both you 2.

Edit: Actually I do have a question, what's the editor you use for this code, do you use Notepad++ or just the plain old Notepad?

Edited 12/2/2015 04:23:07
What if I wanted to try CLOT making too...: 12/2/2015 04:24:19


Legacy 
Level 56
Report
If a membership account is needed, I volunteer one of my alts
What if I wanted to try CLOT making too...: 12/2/2015 05:28:29


knyte 
Level 58
Report
I use vim, but if you're looking for a good IDE try Sublime.
What if I wanted to try CLOT making too...: 12/2/2015 05:41:28

Master of the Dead 
Level 62
Report
I don't think vim is something he should use ;)

I would suggest Eclipse with the pydev plugin. It lets you deploy your app to GAE at the click of a button.

If you run into any issues, feel free to ask for help. I can walk you through most of it on a weekend if you have skype
What if I wanted to try CLOT making too...: 12/2/2015 06:41:50


NinjaNic 
Level 57
Report
@Legacy- Thanks. I was thinking of buying one anyway, but I guess I'll cross that bridge when I get there.
@knyte- Ok I'll have to look those up tomorrow. (It's late here.)
@Master- Thank you, I appreciate your willingness to help, I'll definitely send you a message if I can Skype (maybe not this weekend though.)
What if I wanted to try CLOT making too...: 12/2/2015 20:53:00


knyte 
Level 58
Report
@MotD: Yeah, emacs all the way.
Posts 1 - 13 of 13   

Contact | About WarLight | Play Risk Online | Multiplayer Strategy Game | Challenge Friends, Win Money | Skill Game | Terms of Service