|
Post by sacreyoule on Aug 1, 2014 2:38:02 GMT -5
For those who hadn't already played to it (and the others)
|
|
|
Post by RenegadeMizu on Aug 1, 2014 5:38:55 GMT -5
Mizu, as I understand it, you are learning how to program. (Obviously) And I was wondering what language? In Java, I'm up to Arrays, For loops, nested arrays, and nested for loops. Which basically means I can create a simple text-based Tic-Tac-Toe game. In C++, I'm a lot further behind. I stopped learning that a few months ago, but I was able to do things like make a calculator. I took AP Computer Science last year, so I'm trying to get better with Java as well. I'm not sure how "far" I'd say I am. What I was working on was a Text-based Turn-based RPG (since I have no idea how to make a UI and stuff). That pretty much involves a whole bunch of If statements, random numbers, while loops, and ArrayLists. I'm also gonna try to learn some C# soon for Unity.
|
|
|
Post by Total Reverse on Aug 1, 2014 6:22:35 GMT -5
Mizu, as I understand it, you are learning how to program. (Obviously) And I was wondering what language? In Java, I'm up to Arrays, For loops, nested arrays, and nested for loops. Which basically means I can create a simple text-based Tic-Tac-Toe game. In C++, I'm a lot further behind. I stopped learning that a few months ago, but I was able to do things like make a calculator. I took AP Computer Science last year, so I'm trying to get better with Java as well. I'm not sure how "far" I'd say I am. What I was working on was a Text-based Turn-based RPG (since I have no idea how to make a UI and stuff). That pretty much involves a whole bunch of If statements, random numbers, while loops, and ArrayLists. I'm also gonna try to learn some C# soon for Unity. Then I could help you with making sure there aren't any flaws in the code. I know what all of those are, and I'll see if my lessons have something for creating a UI. If you really love programming, check out a game called Project Spark.
|
|
|
Post by RenegadeMizu on Aug 1, 2014 6:32:24 GMT -5
I took AP Computer Science last year, so I'm trying to get better with Java as well. I'm not sure how "far" I'd say I am. What I was working on was a Text-based Turn-based RPG (since I have no idea how to make a UI and stuff). That pretty much involves a whole bunch of If statements, random numbers, while loops, and ArrayLists. I'm also gonna try to learn some C# soon for Unity. Then I could help you with making sure there aren't any flaws in the code. I know what all of those are, and I'll see if my lessons have something for creating a UI. If you really love programming, check out a game called Project Spark. I'd appreciate that! My code is probably messy as heck, especially since I haven't coded much in a while. And I've heard about that a while ago. I'll look into it.
|
|
|
Post by lod254 on Aug 1, 2014 8:42:04 GMT -5
Sounds mostly programmer/artist heavy, but if you need algorithms worked out, let me know.
|
|
|
Post by Total Reverse on Aug 1, 2014 9:18:38 GMT -5
RenegadeMizu: Here is a game of Tic-Tac-Toe Code: import java.util.Scanner;
public class Main{ public static int row, col; public static Scanner scan = new Scanner(System.in); public static char[][] board = new char[3][3]; public static char turn = 'X';
public static void main(String[] args) { for (int i = 0; i < 3; i++) { for (int j = 0; j < 3; j++) { board[j] = '_'; } }
Play();
}
public static void Play() { boolean playing = true; PrintBoard(); while (playing) { System.out.println("Please enter a row and column: "); row = scan.nextInt() - 1; col = scan.nextInt() -1; board[row][col] = turn; if (GameOver(row, col)) { playing = false; System.out.println("Game over! Player " + turn + " wins!"); }
PrintBoard(); if (turn == 'X') turn = 'O'; else turn = 'X'; }
}
public static void PrintBoard() { for (int i = 0; i< 3; i++) { System.out.println(); for (int j = 0; j < 3; j++) { if (j == 0) System.out.print(" | "); System.out.print(board[j] + " | " ); } } System.out.println(); }
public static boolean GameOver(int rMove, int cMove) { if (board[0][cMove] == board[1][cMove] && board[0][cMove] == board[2][cMove]) return true; if (board[rMove][0] == board[rMove][1] && board[rMove][0] == board[rMove][2]) return true; if (board[0][0] == board [1][1] && board [0][0] == board [2][2] && board[1][1] != '_') return true; if (board [0][2] == board [1][1] && board[0][2] == board[2][0] && board[1][1] != '_') return true; return false; } }
|
|
|
Post by sacreyoule on Aug 1, 2014 9:23:05 GMT -5
I'd appreciate that! My code is probably messy as heck, especially since I haven't coded much in a while. And I've heard about that a while ago. I'll look into it. If you or someone else has Javascript / CSS / HTML (web in general) question, I'll answer with pleasure
|
|
|
Safe Zone
Aug 1, 2014 11:00:33 GMT -5
via mobile
Post by urbanknight4 on Aug 1, 2014 11:00:33 GMT -5
If we get more people in here and finish up the comic on the other thread, we'll start choosing a team and developing concept art soon Stay tuned, chilllldren!
|
|
|
Post by Bobbyjoeangus43 on Aug 1, 2014 11:24:25 GMT -5
If we get more people in here and finish up the comic on the other thread, we'll start choosing a team and developing concept art soon Stay tuned, chilllldren! Cool. Also
|
|
|
Post by Total Reverse on Aug 1, 2014 14:18:50 GMT -5
Urban/Mizu:
I have further progressed in my training. I can now make a line on a screen in Java.
It took me forever because of that damn wildcard. Eclipse gave me a bad suggestion, so I had to redo an entire lesson.
|
|
|
Post by RenegadeMizu on Aug 1, 2014 16:21:00 GMT -5
Urban/Mizu: I have further progressed in my training. I can now make a line on a screen in Java. It took me forever because of that damn wildcard. Eclipse gave me a bad suggestion, so I had to redo an entire lesson. I really need to learn how to use Eclipse or an IDE...I had to use BlueJ for my class and that's the only thing I know how to use...
|
|
|
Post by Total Reverse on Aug 1, 2014 16:23:23 GMT -5
As far as I know (which is about an inch), Eclipse is one of the best or most commonly used. And after my last lesson, I can now make boxes and such. By the time I go to sleep, I will be able to set up a TD game.
|
|
|
Post by RenegadeMizu on Aug 1, 2014 16:32:00 GMT -5
As far as I know (which is about an inch), Eclipse is one of the best or most commonly used. And after my last lesson, I can now make boxes and such. By the time I go to sleep, I will be able to set up a TD game. I've heard of Eclipse and IntelliJ. I'll try to learn how to se Eclipse. Awesome! I love TD games lol.
|
|
|
Safe Zone
Aug 1, 2014 16:34:44 GMT -5
via mobile
Post by drfluorescent on Aug 1, 2014 16:34:44 GMT -5
What are TD games?
|
|
|
Post by RenegadeMizu on Aug 1, 2014 16:36:20 GMT -5
|
|