Search found 11 matches

by Zodac
September 15th, 2017, 10:58 am
Forum: Everything
Topic: I made game of life a while back and forgot about it
Replies: 1
Views: 1390

I made game of life a while back and forgot about it

Yea so I made this and forgot about it but I still like it
https://github.com/HippopotamusXD/gameOfLife

Pretty simple, left click to place cells, right click to start and it should work

First time using chrono::timestep so if I did anything wrong that's why
by Zodac
July 31st, 2017, 12:23 pm
Forum: Everything
Topic: C# winform help
Replies: 2
Views: 1632

C# winform help

I'm working on my first winform project and also my first C# project so i have no idea what i'm doing pretty much One problem i have is calling a function from form1 on form2's FormClosing I've looked it up and most posts are from 6-8 years old and i don't understand most of them but one thing i did...
by Zodac
February 24th, 2017, 1:16 pm
Forum: Everything
Topic: My minesweeper
Replies: 4
Views: 2131

Re: My minesweeper

Update on goal number 2. It's done, easier than I expected.
by Zodac
February 22nd, 2017, 2:47 pm
Forum: Everything
Topic: My minesweeper
Replies: 4
Views: 2131

Re: My minesweeper

Yea I know I should stop doing that, I was getting confused with all the {} while working at 2 am and I forgot to put them back in place...
by Zodac
February 21st, 2017, 2:48 pm
Forum: Everything
Topic: My minesweeper
Replies: 4
Views: 2131

My minesweeper

Last few days I've been working on a minesweeper game. https://github.com/Sammy385/Minesweeper That's the link to the GitHub repo. Feedback appreciated. EDIT: That repo's broken for some reason, this is the new one https://github.com/Sammy385/Minesweeper_2 In the future I plan on: 1) making it so it...
by Zodac
January 10th, 2017, 5:44 pm
Forum: Everything
Topic: Need some help with a sorting algorithm
Replies: 14
Views: 4328

Re: Need some help with a sorting algorithm

Thanks for your help and suggestions everyone
by Zodac
January 9th, 2017, 11:50 am
Forum: Everything
Topic: Need some help with a sorting algorithm
Replies: 14
Views: 4328

Re: Need some help with a sorting algorithm

Or, const auto arrSize = n * 2; for( int i = 0; i < arrSize; i++ ) { for( int j = i; j < arrSize; j++ ) { auto &cur = c[ i ]; auto &next = c[ j ]; if( cur > next ) { std::swap( cur, next ); } } } that seems way too complicated for me, I don't understand anything... But thanks, I'll check that out
by Zodac
January 8th, 2017, 3:32 pm
Forum: Everything
Topic: Need some help with a sorting algorithm
Replies: 14
Views: 4328

Re: Need some help with a sorting algorithm

How did I not see that... Thanks
by Zodac
January 8th, 2017, 1:07 pm
Forum: Everything
Topic: Need some help with a sorting algorithm
Replies: 14
Views: 4328

Need some help with a sorting algorithm

I've recently started learning more about arrays and while doing some exercises I came across an exercise that merges 2 arrays (a and b) into 1 (c). After I did that I also tried to make it sort the array c. For some reason it doesn't work, even though I used the same method in a previous exercise a...
by Zodac
December 8th, 2016, 9:47 pm
Forum: Everything
Topic: Problem with collisions from tutorial 5
Replies: 3
Views: 1658

Re: Problem with collisions from tutorial 5

Thank you, that fixed it