Connect4 my first something

Hi,
I’ve avoided to post in showcase because is a so simple game that is not appropriate in Showcase forum’s part.
However this is the link to download the game is a .rar file and inside there is in dist a .jar file …


Bye

If you’re still making it you can post it on WIP section. Ugliness is common there :stuck_out_tongue:

Ah I remember I made one back in college, to demonstrate AI or thing.

Ah ok ,
this is only an attempt i spend few time in this, and now want to pass to another project …
The game is ugly also because I am not able to draw decent sprite and drawing sprite is very boring for me …

[quote]Ah I remember I made one back in college, to demonstrate AI or thing.
[/quote]
Oh interesting , my problem is that i don’t know where start to program a AI… I have finish only my first year at university …

The AI is pretty simple, but hard enough to beat.

OMG … is too difficult read all code … without comment of the code … and I generally program with Timer so is too difficult… And then my game have the triple of the linecode … :emo:
Another thing , in this game I have decided to don’t use any Timer , because I need to repaint only when insert a pawn , so in keypressed i repaint my screen not is more efficient than repaint every time ??..

His file is only 170 lines long…

It’s called clean/fast/optimized code ::slight_smile:

Ooops, I forgot to mention it. See the class name? this one was planned for Java4K submission :slight_smile: so, ya. Not made it as entry but for college task submission. Well, no one care about your code quality as long it solves the problem.

@Beppe
Of course it’s okay if you don’t need animation, make it turn-based for efficient.

@Herjan
like this? :stuck_out_tongue:

[quote]Well, no one care about your code quality as long it solves the problem.
[/quote]
No , I want to be a good programmer …

[quote]for college task submission.
[/quote]
In which year of college??

[quote]His file is only 170 lines long…
[/quote]
Yes , for you are few , for me that program from a year i a lot , surely your college quality is better …

I’m a high school sophmore :stuck_out_tongue:
I didn’t realize it was a 4K game though - they’re not great for examples because they’re often not commented and try to fit everything in as small a space as possible. Didn’t mean to insult you.

[quote]I’m a high school sophmore
[/quote]
What a fuck ??? You are so young and is a JGO Wizard … Italian school are really terrible… :emo:

Schools terrible?
Maybe learn at home, I learned everything at home, why wait for college? :wink:
The greatest teachers are here, youtube, google, books.

Wasn’t there a guy who made an app some months ago, 17 years old who made a few million with it and started working by Yahoo? All homework…

For english people are all easier , they know english and could study good tutorial …
So is terrible , pratically … Is impossible for me and my friend find job in europe if you are all so …
For example almost nobody of my course is able to do a game …

Well, I am dutch, and don’t say I am a language man, I am really a math man, (thats why I am here I guess) I had 4 years ago (im not lying) many zero’s for english, I closed 2 years ago french with a 1… But I learned and learned, I get crazy from some english documentations still too, but I don’t give up. Take time for it, sit, relax. Google translate is my big friend if it comes to translating words from a documentation to my head…

Yes , I know , but the advantage is relevant … It’s normal that when I was 15-year don’ t have start with this is all in english, and I know only " the pen is on the table".

No , I want to be a good programmer …
[/quote]
No, I mean for the submission. We focused on the AI algorithm not the code, as you’re free to demonstrate it with whatever language you want.

In which year of college??
[/quote]
First/last semester of 2 I think, don’t remember.

Yes , for you are few , for me that program from a year i a lot , surely your college quality is better …
[/quote]
I have regret attend this college. In national grading it falls nowhere at bottom of hell. Oh about the code quality I made in about 5h before the day. Last day panic product.

Ok ,
I am only astonished about Jimmt , so I know that was almost impossibible enter in a software house especially for a italians , but so i have lost every hope…

Pfft! Age, education, location - none of that matters. New technologies pop up constantly and there’s no way to keep up with it all, even for seasoned experts. Being a programmer means learning new things and re-learning old things all the time. Hard work trumps everything.

And one tea spoon of luck. You need it.

Ooooh! I made a Connect4 back in my first year of college!

It ran on Linux terminals… With ASCII graphics… And I went so overboard with extra features and complexity (you could even configure the UI) that the teacher jokingly said he’d give me an A based solely on the weight of the documentation! :stuck_out_tongue:

Good times.