게임
-
[Java] 틱택톡 게임 만들기JAVA 2022. 12. 8. 18:30
import java.util.*; import java.io.*; public class Main { static int[][] arr = new int[3][3]; static List list = new ArrayList(); public static void main(String[] args) { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while(true) { System.out.print("원하는 위치를 좌표로 작성해주세요 >> "); String[] str = null; try { str = br.readLine().split(","); } catch(Exception e) { e.printStackT..
-
C언어 다이아몬드 키우기 게임코딩공부 2022. 4. 22. 12:40
C언어를 통해 피라미드를 만들고 나서 심심해서 만들어본 다이아몬드 키우기 게임 혹시 C언어로 피라미드를 만들어보신 적이 없으시면 아래 글을 참고해주세요. 2022.04.21 - [코딩공부] - C언어 피라미드, 마름모 별찍기(for문 연습) C언어 피라미드, 마름모 별찍기(for문 연습) C언어를 배우면 for문에서 무조건 나오는 피라미드와 마름모 별(*)찍기에 대해 글을 작성하였습니다. 여기서 사용되는 것은 이중 for문이며 간단한 덧셈 곱셈만 할 줄 안다면 만들 수 있습니다. 사 jangto.tistory.com 다이아몬드 키우기 게임 #include #include #include void size(); int num1; int num2; int answer; int level = 1; int ma..