Create Brain Overdrive Game in Android
This is yet another game like the 123Game . This game generates a single character which may be a Vowel, a Consonant, an Odd Number or may be an Even Number. The theme is you will get 3 seconds for each questions, you have to select the right option for it. If selected the right one then you will get 3 marks and the game gets over if u opt a wrong one ! Screenshots[Demo] The Code: For Generating Characters: void calc() { es="02468";os="13579";vs="AEIOU";ks="BCDFGHJKLMNPQRSTVWXYZ";k=""; Random rand=new Random(); k=k+es.charAt(rand.nextInt((4 - 0) + 1)); k=k+os.charAt(rand.nextInt((4 - 0) + 1)); k=k+vs.charAt(rand.nextInt((4 - 0) + 1)); k=k+ks.charAt(rand.nextInt((20 - 0) + 1)); String input=k; List<Character> characters = new ArrayList<Character>(); for(char c:input.toCharArray()){ characters.add(c); } StringBuilder output = new StringBuilder(input.length()); ...