Search found 22 matches

by Chrajdal
September 17th, 2017, 6:26 pm
Forum: Everything
Topic: Coding Challenge 2
Replies: 25
Views: 11439

Re: Coding Challenge 2

Yumtard wrote:How do you guys measure? in debug or release?
In release.
by Chrajdal
September 17th, 2017, 1:11 pm
Forum: Everything
Topic: Coding Challenge 2
Replies: 25
Views: 11439

Re: Coding Challenge 2

Hi, guys, can you reveal your execution times, i want to compare with mine xD You first! :D :lol:, about 16-20 ms. Good job! I'm currently around 650ms for the number Chilli gave us. I've tried with 10 000 digits long number and resulted in 1,2 seconds :) if I get some more time on my hands I will ...
by Chrajdal
September 17th, 2017, 12:55 pm
Forum: Everything
Topic: Coding Challenge 2
Replies: 25
Views: 11439

Re: Coding Challenge 2

Fonduee wrote:Hi, guys, can you reveal your execution times, i want to compare with mine xD
You first! :D
by Chrajdal
February 17th, 2014, 4:08 pm
Forum: Everything
Topic: Maze generator
Replies: 5
Views: 2410

Re: Maze generator

I'm glad, you like it, guys.. :) next thing to do is Solver, and rewriting it to C++. There is also space to speed up the generating still... I'm going to need to use stack to achieve more efficiency - you might notice that if you set N very large ( for example 400 ) it takes very long time to compu...
by Chrajdal
February 12th, 2014, 8:17 pm
Forum: Everything
Topic: Maze generator
Replies: 5
Views: 2410

Re: Maze generator

There is variable called speed in void Game::handleUser(), you can set it to 0.25 to slow things down :)
by Chrajdal
February 12th, 2014, 7:56 pm
Forum: Everything
Topic: Maze generator
Replies: 5
Views: 2410

Maze generator

Hey guys, after a long time, I managed to get something done in framework. Since I'm going to college, and studying mainly pure C, I tried to make ASCII maze generator. Then I put the algorithm into the framework, and managed to create neat maze game. I didn't name it or anything - I just wanted to ...
by Chrajdal
February 15th, 2013, 10:39 am
Forum: Everything
Topic: A few quick questions
Replies: 2
Views: 1628

A few quick questions

Hello guys, I would like to ask a few questions. Just quick ones. First of all, I'd like to know what command shall I use to hide windows mouse cursor in a program window. Second thing is: is there a way how to change the executable file icon? I'd like to have it my own way :D I'll definitely figure...
by Chrajdal
January 12th, 2013, 4:16 pm
Forum: Everything
Topic: 4 Sided Shape drawing function
Replies: 36
Views: 14846

Re: 4 Sided Shape drawing function

I am thinking about a way how to do it and it's quite easy in my head, but I will write a code and see if that works first. I will post it later on :)
by Chrajdal
January 11th, 2013, 5:49 pm
Forum: Everything
Topic: 4 Sided Shape drawing function
Replies: 36
Views: 14846

Re: 4 Sided Shape drawing function

Cool, but have a look at this, its only the debug. Try to replicate it : -P The function to draw the object has 10 lines of code (excluding drawline and filling function) Hi all, I tried to replicate Lux's thing and here is my solution: void Game::DrawRotating_N_Corners_Shape( float x, float y,cons...
by Chrajdal
January 2nd, 2013, 5:37 pm
Forum: Everything
Topic: Little Challenge :)
Replies: 4
Views: 3281

Re: Little Challenge :)

Thank you, guys. I made it once to 196, but no further with those settings. Score Draw part was a lots of copy and paste and some quick replacements, still took me a while. Anyways, I want to make some improvements to it, so I will give you newer versions if you would like anytime soon. Nosferatu: D...