Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Java 

Challange me

hi,
I'm in need of something to do with java, give me some tips/challanges on what i can code. And i will provide you the code via pastebin.

experience level: know a bit more then the basics.
(Dec 9, 2018 09:29 AM)pms Wrote:  hi,
I'm in need of something to do with java, give me some tips/challanges on what i can code. And i will provide you the code via pastebin.


If you'd like a challenge, I am looking to make a Java application that executes Powershell code, however, the app will need in integrated Powershell console. Maybe you could attempt to make that?

Not sure what your level of expertise is at Java, but this could be a nice challenge.

Happy coding!
(Dec 9, 2018 10:09 AM)Tenno Wrote:  If you'd like a challenge, I am looking to make a Java application that executes Powershell code, however, the app will need in integrated Powershell console. Maybe you could attempt to make that?

Not sure what your level of expertise is at Java, but this could be a nice challenge.

Happy coding!

Yeah thats way to far from my experience level, forgot to add that to the thread.
A fun challenge is to make a tic tac toe with the console. Think about how you deal with a draw (should be triggered when there will be no winner in advance), winning and losing.

What software patterns are you going to use? And make it in a way that the GUI (console) is detachable so you can always change that out.
[Image: 89758]
(Dec 10, 2018 03:48 AM)hash Wrote:  A fun challenge is to make a tic tac toe with the console. Think about how you deal with a draw (should be triggered when there will be no winner in advance), winning and losing.

What software patterns are you going to use? And make it in a way that the GUI (console) is detachable so you can always change that out.

Fantastic idea, going to try this out once i get home.


(Dec 10, 2018 03:48 AM)hash Wrote:  A fun challenge is to make a tic tac toe with the console. Think about how you deal with a draw (should be triggered when there will be no winner in advance), winning and losing.

What software patterns are you going to use? And make it in a way that the GUI (console) is detachable so you can always change that out.

I started the project, after around 30 minutes i gave up completely, it was way out of my skillset. Kinda made me mad that I was'nt able to do it, but ill get there some day.
(Dec 10, 2018 06:00 AM)pms Wrote:  Fantastic idea, going to try this out once i get home.



I started the project, after around 30 minutes i gave up completely, it was way out of my skillset. Kinda made me mad that I was'nt able to do it, but ill get there some day.

Haha it is often one of the first things you program when in uni. Start by

You have 9 places to put your X or O in.
Code
public static final int ROWS = 3, COLS = 3; // number of rows and columns
public static int[][] board = new int[ROWS][COLS]; // game board in 2D array =)
public static int currentState;  // the current state of the game
public static int currentPlayer; // the current player (X or O)  
                                                 
Now use a scanner to receive input. something like row/col
11 = left top
33 = right bottom
[Image: 89758]
(Dec 10, 2018 08:29 AM)hash Wrote:  Haha it is often one of the first things you program when in uni. Start by

You have 9 places to put your X or O in.
Code
public static final int ROWS = 3, COLS = 3; // number of rows and columns
public static int[][] board = new int[ROWS][COLS]; // game board in 2D array =)
public static int currentState;  // the current state of the game
public static int currentPlayer; // the current player (X or O)  
                                                 
Now use a scanner to receive input. something like row/col
11 = left top
33 = right bottom

Thanks for the help, still cant manage to do it, what would you recommend me reading more on?
(Dec 10, 2018 08:42 AM)pms Wrote:  Thanks for the help, still cant manage to do it, what would you recommend me reading more on?

https://www.instructables.com/id/Make-Ti...e-in-Java/

This is a really good tutorial that goes in-depth how to make tic tac toe. It has nice emphasis on software design and what classes do and stuff. Don't just copy code, read the text and type the code yourself so you get a feel for it!
[Image: 89758]
(Dec 10, 2018 08:51 AM)hash Wrote:  https://www.instructables.com/id/Make-Ti...e-in-Java/

This is a really good tutorial that goes in-depth how to make tic tac toe. It has nice emphasis on software design and what classes do and stuff. Don't just copy code, read the text and type the code yourself so you get a feel for it!

Thank you once again. Ill read through the text and tell you how it goes.
(Dec 10, 2018 08:52 AM)pms Wrote:  Thank you once again. Ill read through the text and tell you how it goes.

Looking forward hearing from you!
[Image: 89758]
may be try a code injector.
(Dec 10, 2018 11:57 AM)jammy47 Wrote:  may be try a code injector.

I dont think you fully read the thread, thats way beyond my skill level.
(Dec 10, 2018 12:00 PM)pms Wrote:  I dont think you fully read the thread, thats way beyond my skill level.

I think you are underestimating yourself. If you only see the logic behind a c++ code injector, you will actually laugh. Try harder bro.
(Dec 10, 2018 12:01 PM)jammy47 Wrote:  I think you are underestimating yourself. If you only see the logic behind a c++ code injector, you will actually laugh. Try harder bro.

c++? i dont even know c++ yet, what do you mean haha.
(Dec 10, 2018 12:11 PM)pms Wrote:  c++? i dont even know c++ yet, what do you mean haha.

Well, You dont have to be so much of a pro in c++ to understand code injection. Pm me if you need any help. Most of the times, windows itself will give you the power to abuse itself.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C] by SIM-3991524May 14, 2020 09:27 PM 9 391 May 14, 2020 09:27 PM
Last Post: Sugawara
[C] by saltycrackerMay 12, 2020 07:47 AM 0 127 May 12, 2020 07:47 AM
Last Post: saltycracker
[C] by pmsSep 16, 2019 10:15 PM 9 258 Sep 16, 2019 10:15 PM
Last Post: pms