사다리타기 게임
매번 종이에 적어서 사다리 타기를 통한 당번을 정하는 것을 스피디 하게 하기 위함
진행 방법
어떤 도구를 사용했고, 어떻게 활용하셨나요?
클로드
Tip: 사용한 프롬프트 전문을 꼭 포함하고, 내용을 짧게 소개해 주세요.
19명의 팀원들이 있는데 사다리 게임을 통해서 3명씩 팀을 짜려고 해
Tip:
Tip: 코드 전문은 코드블록에 감싸서 작성해주세요. ( / 을 눌러 '코드 블록'을 선택)
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
@import url('https://fonts.googleapis.com/css2?family=Black+Han+Sans&family=Noto+Sans+KR:wght@300;400;500;700&display=swap');
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: 'Noto Sans KR', sans-serif;
background: #0a0a12;
color: #fff;
min-height: 100vh;
overflow-x: hidden;
}
.bg-grid {
position: fixed; inset: 0;
background-image:
linear-gradient(rgba(99,102,241,0.07) 1px, transparent 1px),
linear-gradient(90deg, rgba(99,102,241,0.07) 1px, transparent 1px);
background-size: 40px 40px;
pointer-events: none;
}
.container {
max-width: 900px;
margin: 0 auto;
padding: 32px 20px;
position: relative;
}
h1 {
font-family: 'Black Han Sans', sans-serif;
font-size: 2.4rem;
text-align: center;
background: linear-gradient(135deg, #a78bfa, #60a5fa, #34d399);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 6px;
}
.subtitle {
text-align: center;
color: #6b7280;
font-size: 0.85rem;
margin-bottom: 32px;
}
.step-card {
background: rgba(255,255,255,0.04);
border: 1px solid rgba(255,255,255,0.1);
border-radius: 16px;
padding: 24px;
margin-bottom: 20px;
}
.step-label {
font-size: 0.7rem;
font-weight: 700;
letter-spacing: 2px;
color: #a78bfa;
margin-bottom: 12px;
text-transform: uppercase;
display: flex;
justify-content: space-between;
align-items: center;
}
.step-title {
font-size: 1rem;
font-weight: 700;
margin-bottom: 16px;
color: #e5e7eb;
}
.number-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
gap: 8px;
margin-bottom: 20px;
}
.num-chip {
background: rgba(167,139,250,0.12);
border: 1px solid rgba(167,139,250,0.3);
border-radius: 10px;
padding: 10px 6px;
text-align: center;
font-family: 'Black Han Sans', sans-serif;
font-size: 1.1rem;
color: #c4b5fd;
transition: background 0.2s;
}
.num-chip span {
display: block;
font-family: 'Noto Sans KR', sans-serif;
font-size: 0.65rem;
color: #6b7280;
font-weight: 400;
margin-top: 2px;
}
.btn {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 12px 24px;
border: none;
border-radius: 10px;
font-family: 'Noto Sans KR', sans-serif;
font-weight: 700;
font-size: 0.9rem;
cursor: pointer;
transition: all 0.2s;
}
.btn-primary {
background: linear-gradient(135deg, #7c3aed, #4f46e5);
color: #fff;
width: 100%;
justify-content: center;
font-size: 1rem;
padding: 14px;
}
.btn-primary:hover {
transform: translateY(-1px);
box-shadow: 0 8px 24px rgba(124,58,237,0.4);
}
.btn-secondary {
background: rgba(255,255,255,0.08);
color: #d1d5db;
border: 1px solid rgba(255,255,255,0.15);
}
.btn-secondary:hover { background: rgba(255,255,255,0.13); }
.btn-sm { padding: 7px 14px; font-size: 0.8rem; }
#ladder-section { display: none; }
.ladder-wrap {
background: rgba(255,255,255,0.02);
border: 1px solid rgba(255,255,255,0.08);
border-radius: 12px;
padding: 16px;
overflow-x: auto;
margin-bottom: 16px;
}
canvas { display: block; margin: 0 auto; }
.progress-bar-wrap {
width: 100%;
height: 4px;
background: rgba(255,255,255,0.1);
border-radius: 4px;
margin-bottom: 16px;
overflow: hidden;
}
.progress-bar {
height: 100%;
background: linear-gradient(90deg, #7c3aed, #60a5fa);
border-radius: 4px;
width: 0%;
transition: width 0.1s;
}
.speed-row {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 12px;
font-size: 0.82rem;
color: #9ca3af;
}
.speed-row input[type=range] { flex: 1; accent-color: #7c3aed; }
#result-section { display: none; }
.teams-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 12px;
margin-bottom: 20px;
}
.team-card {
background: rgba(255,255,255,0.04);
border: 1px solid rgba(255,255,255,0.1);
border-radius: 12px;
padding: 16px;
opacity: 0;
transform: translateY(20px);
transition: opacity 0.4s, transform 0.4s;
}
.team-card.show { opacity: 1; transform: translateY(0); }
.team-name {
font-family: 'Black Han Sans', sans-serif;
font-size: 1rem;
margin-bottom: 10px;
padding-bottom: 8px;
border-bottom: 1px solid rgba(255,255,
결과와 배운 점
배운 점과 나만의 꿀팁을 알려주세요. : 걱정하기 앞서 AI에게 묻는다
과정 중에 어떤 시행착오를 겪었나요? 어렵게 생각하지 말고 쉽게 접근하는 것 배움
도움이 필요한 부분이 있나요?
앞으로의 계획이 있다면 들려주세요. 출장 중에 지난주 참여를 못해서 아쉽고 업데이트를 많이 못했는데 클로드 코드 앞으로 더 깊이 파겠습니다.
(내용 입력)
도움 받은 글 (옵션)
참고한 지피터스 글이나 외부 사례를 알려주세요.
(내용 입력)
댓글 0개
로그인하고 댓글을 작성하세요