started with the TicTacToe_MinMax Project. Finished the rendering of the game.

TODO: Make a playable version and add MinMax
This commit is contained in:
2020-06-14 23:13:33 +02:00
parent c1ebe11e2f
commit 99d9170365
145 changed files with 8952 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
package numbers;
public class HowManyPrimes_NOT_SOLVED {
//Edabit link
//https://edabit.com/challenge/z8vvSdWjAPu5ufBuR
public static int findPrimes(int boundary){
int primes = 0;
for (int i = 0; i < boundary; i++){
if (i % 2 != 0 && i!= 0){
for (int j = 1; j < 10; j = j+2){
if (i/j == 1){
}
}
}
}
return primes;
}
public static void main(String[] args) {
int boundary = 100;
System.out.printf("There are %d primes within the range of 0-%d",findPrimes(boundary),boundary);
}
}