Lonpeach Tech

게임 개발 이슈 정리

[Codewars #42] N00bify - English to n00b Translator (5kyu)

[Codewars #42] N00bify - English to n00b Translator (5kyu) 문제 풀이

Instructions 링크 The internet is a very confounding place for some adults. Tom has just joined an online forum and is trying to fit in with all the teens and tweens. It seems like they’re speaking...

[Codewars #41] Alphabet wars - nuclear strike (5kyu)

[Codewars #41] Alphabet wars - nuclear strike (5kyu) 문제 풀이

Instructions 링크 Introduction There is a war and nobody knows - the alphabet war! The letters hide in their nuclear shelters. The nuclear strikes hit the battlefield and killed a lot of them. Ta...

[Codewars #40] Best travel (5kyu)

[Codewars #40] Best travel (5kyu) 문제 풀이

Instructions 링크 John and Mary want to travel between a few towns A, B, C … Mary has on a sheet of paper a list of distances between these towns. ls = [50, 55, 57, 58, 60]. John is tired of drivin...

[Codewars #39] Paul Cipher & Kevin Arnold (5kyu)

[Codewars #39] Paul Cipher & Kevin Arnold (5kyu) 문제 풀이

Instructions 링크 We need to encode a message. Only alpha characters will be encoded. Non-alpha characters will be copied. So, the message “ 0123. “ would be encoded to “ 0123. “. For alpha chara...

[Codewars #38] Play with two Strings (5kyu)

[Codewars #38] Play with two Strings (5kyu) 문제 풀이

Instructions 링크 Your task is to Combine two Strings. But consider the rule… By the way you don’t have to check errors or incorrect input values, every thing is ok without bad tricks, only two in...

[Codewars #37] Maze Runner (6kyu)

[Codewars #37] Maze Runner (6kyu) 문제 풀이

Instructions 링크 Introduction 1 Welcome Adventurer. Your aim is to navigate the maze and reach the finish point without touching any walls. Doing so will kill you instantly! Maze Runner Task ...

[Codewars #36] Basic DeNico (5kyu)

[Codewars #36] Basic DeNico (5kyu) 문제 풀이

Instructions 링크 Description: Task Write a function deNico/de_nico() that accepts two parameters: key/$key - string consists of unique letters and digits message/$message - string with encod...

[Codewars #35] Street Fighter 2 - Character Selection (6kyu)

[Codewars #35] Street Fighter 2 - Character Selection (6kyu) 문제 풀이

Instructions 링크 Short Intro Some of you might remember spending afternoons playing Street Fighter 2 in some Arcade back in the 90s or emulating it nowadays with the numerous emulators for retro ...

[Codewars #34] Reverse or rotate? (6kyu)

[Codewars #34] Reverse or rotate? (6kyu) 문제 풀이

Instructions 링크 The input is a string str of digits. Cut the string into chunks (a chunk here is a substring of the initial string) of size sz (ignore the last chunk if its size is less than sz)....

[Codewars #33] String tops (6kyu)

[Codewars #33] String tops (6kyu) 문제 풀이

Instructions 링크 Task Write a function that accepts msg string and returns local tops of string from the highest to the lowest. The string’s tops are from displaying the string in the below way: ...