/***********************************  Not100 ゲーム   交互に数字を言いあって、   100になった方が負けのゲーム ************************************/ import java.util.*; public class Game_Not100 { public static void main(String[] args) { Scanner sc=new Scanner(System.in); int num_comp; // コンピュータの「手」 int num_human; // 人間の「手」 int turn; // 誰の番か(ターン) int YOU=1; // 人間の番 int COMP=2; // コンピュータの番 int now=0; // 現在の値 int max=20; // ゲームの終了値(これを言った方が負け) System.out.print("\nこれからNot100ゲームを始めます\n"); System.out.print("("+max+"になった方が負けです)\n"); System.out.print("\nあなたが先攻です\n"); turn=YOU; while ( now