Skip to content

Param-Harrison/WordChunks

Repository files navigation

WordChunks Word Game

Find hidden words in a grid of chunks.

WordChunks is a word game that test your knowledge of dictionary and spelling. The six hidden words are broken into chunks of two, three or four letters and shuffled in a grid. You have to tap the chunks in the correct order to unscramble the words. There is no time limit and you can find the words in any order.

Get it on Google Play

  • Easy to play, hard to beat!
  • Unlock levels and packsLiveData by solving them. The more you play, the better you get at it.
  • Made with love, and with pets.
  • No pay to play, no pay to win.

Changelog

[1.3.beta] - 7/17/2017
ADDED:
  • New anonymous authentication.
  • New store to purchase more hints.
  • New animations.
CHANGED:
  • Fix phrasing and spelling in Russian translation.

How my old app version looked like:

Some pleasant surprises for me while refactoring Java -> Kotlin


Java (250 characters)

private String chunksToString(List<Chunk> chunks) {
  StringBuilder str = new StringBuilder();
  for (Chunk chunk : chunks) {
      str.append(chunk.getChunk());
  }
  return str.toString();
}

tvInputChunks.setText(chunksToString(chunks));

Kotlin (extension method) (134 characters)

fun List<Chunk>.chunksToString(): String = map { it.chunk }.joinToString(separator = "")

tvInputChunks.text = chunks.chunksToString()

License

Copyright 2017 Julia Kozhkhovskaya

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

Build six words that have one theme in common and known length.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages