# Hue Jumper - 최소 2KB밖에 되지 않는 자바스크립트 레이싱 게임

> Clean Markdown view of GeekNews topic #2032. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=2032](https://news.hada.io/topic?id=2032)
- GeekNews Markdown: [https://news.hada.io/topic/2032.md](https://news.hada.io/topic/2032.md)
- Type: news
- Author: [kunggom](https://news.hada.io/@kunggom)
- Published: 2020-05-06T18:03:35+09:00
- Updated: 2020-05-06T18:03:35+09:00
- Original source: [github.com](https://github.com/KilledByAPixel/HueJumper2k)
- Points: 5
- Comments: 0

## Topic Body

코드 골프(Code Golf)라는 것이 있습니다. 누가누가 더 코드의 용량을 잘 줄이나 하는 것을 겨루는 대회인데, 여기에서 파생된 것 중 하나가 제한된 아주 작은 용량 안에서 무언가를 구현하는 종류의 대회입니다. 예를 들면 256바이트 용량 안에서 그래픽과 음악을 출력하는 데모( https://news.hada.io/topic?id=1986 )가 있지요.

이런 종류의 대회인 2kPlus Jam( https://itch.io/jam/2kplus-jam )에 출품되었던 게임인 Hue Jumper를 소개합니다. (영어) 1980년대의 자동차 경주 게임을 오마쥬한 간단한 레이싱 게임으로, minify된 2k 버전의 파일을 압축하면 용량이 2킬로바이트 아래로 내려갑니다. JavaScript로 되어 있어서 웹 브라우저에서 바로 실행할 수 있지요.

2k 버전 : https://killedbyapixel.github.io/HueJumper2k/a.htm

풀버전 : https://killedbyapixel.github.io/HueJumper2k/

CodePen의 주석 달린 소스코드 : https://codepen.io/KilledByAPixel/pen/poJdLwB

소스코드에 대한 제작자의 설명 : http://frankforce.com/?p=7427

게임 방법은 단순합니다. 플레이어는 장애물이 곳곳에 흩어진 도로를 제한된 시간 안에 1000미터 이동해야 합니다. 처음 출발하면 20초의 시간이 주어지고, 그 시간 안에 체크포인트를 통과하면 10초의 시간이 추가로 주어집니다. 도로를 벗어나거나 장애물에 부딪치면 속도가 느려지거나 일시적으로 멈춥니다. 마우스를 움직이면 차의 진행방향이 바뀌고, 더블클릭하면 점프를 할 수 있습니다. 풀버전에서는 몇몇 키보드 키 기능이 추가되었습니다.

## Comments



_No public comments on this page._
