Kisi-Kisi - Web Technologies - LKS Provinsi Kalimantan Tengah 2024
Kisi-Kisi - Web Technologies - LKS Provinsi Kalimantan Tengah 2024
Dokumen LKS SMK Tingkat Provinsi Kalimantan Tengah Tahun 2024_Versi 0 @webtechindonesia
Kisi-kisi LKS Prov. Kalimantan Tengah Tahun 2024 Bidang Lomba Web Technologies
INTRODUCTION
You are asked to develop a game called World Head Football using HTML and CSS and develop
client-side programming using JavaScript. Some media files are available to you in a zip file. You
can create more media and modify anything in the media if you want. Your game needs to be
developed in a tablet resolution (1000 x 600 pixels). In bigger resolution, the game must be centered
in the screen both horizontally and vertically.
World Head Football game screen should have meet these requirements below:
1. Player Name
2. Gameboard
3. Player Character
4. Country Flag
5. Total Score
6. Timer
7. Match History
Dokumen LKS SMK Tingkat Provinsi Kalimantan Tengah Tahun 2024_Versi 0 @webtechindonesia
Kisi-kisi LKS Prov. Kalimantan Tengah Tahun 2024 Bidang Lomba Web Technologies
Game Functionalities
1. Show game welcome in the center after pages are loaded.
2. Players can go to the game after filling the username field and click the “Play Game” button at
the bottom of the welcome page.
3. The “Play Game” button should be disabled if the user did not input the username.
4. User must choose one from each option:
a. one of three levels (easy, medium, hard).
b. one of two balls to be used.
c. one of many countries as player 1 and one as player 2.
5. Game instructions should be shown after the page is loaded.
6. After clicking the “Instruction” button, it shows game instructions.
7. Users can close instructions after clicking the “X” button.
8. Show countdown for three seconds in the center of screen after the user clicked the play
button before the game started playing.
9. When the game starts, the timer will start with time according to level.
a. ’30 seconds’ for easy level
b. ‘20 seconds’ for medium level
c. ‘15 seconds’ for hard level
10. The player 1 position will be on the left and the player 2 will be on the right
11. The ball will appear from top to bottom in the middle of 2 characters.
12. The ball will bounce when it hits the body part of the character.
Dokumen LKS SMK Tingkat Provinsi Kalimantan Tengah Tahun 2024_Versi 0 @webtechindonesia
Kisi-kisi LKS Prov. Kalimantan Tengah Tahun 2024 Bidang Lomba Web Technologies
Dokumen LKS SMK Tingkat Provinsi Kalimantan Tengah Tahun 2024_Versi 0 @webtechindonesia
Kisi-kisi LKS Prov. Kalimantan Tengah Tahun 2024 Bidang Lomba Web Technologies
EXAMPLE
These following images are for example purposes only. You may design your own game layout.
Dokumen LKS SMK Tingkat Provinsi Kalimantan Tengah Tahun 2024_Versi 0 @webtechindonesia
Kisi-kisi LKS Prov. Kalimantan Tengah Tahun 2024 Bidang Lomba Web Technologies
INTRODUCTION
In this module, you are asked to create a social media website called “Facegram” where in the
website a user can see other user's posts by following the user. Users can also register as a private
account so other users who are not following could not see posts. The detailed description and tools
that you can use will be described below.
Endpoint /api/v1/auth/register
Method POST
Request Body:
full_name (required)
bio (required, max 100 chars)
username (required, min 3 chars, unique, only alphanumeric, dot “.” or underscore “_”
allowed)
Dokumen LKS SMK Tingkat Provinsi Kalimantan Tengah Tahun 2024_Versi 0 @webtechindonesia
Kisi-kisi LKS Prov. Kalimantan Tengah Tahun 2024 Bidang Lomba Web Technologies
b. Login
Endpoint /api/v1/auth/login
Method POST
Request Body:
username
password
Dokumen LKS SMK Tingkat Provinsi Kalimantan Tengah Tahun 2024_Versi 0 @webtechindonesia
Kisi-kisi LKS Prov. Kalimantan Tengah Tahun 2024 Bidang Lomba Web Technologies
c. Logout
Endpoint /api/v1/auth/logout
Method POST
Request Headers:
Authorization: Bearer <token>
Body:
username
password
2. Post
a. Create new post
Endpoint /api/v1/posts
Method POST
Request Headers:
Authorization: Bearer <token>
Content-type: multipart/form-data
Body:
caption (required)
attachments (required, array of image files jpg, jpeg, webp, png or gif)
Response Body:
{
Invalid Field "message": "Invalid field",
Dokumen LKS SMK Tingkat Provinsi Kalimantan Tengah Tahun 2024_Versi 0 @webtechindonesia
Kisi-kisi LKS Prov. Kalimantan Tengah Tahun 2024 Bidang Lomba Web Technologies
"errors": {
"caption": [
"The caption field is required."
],
"attachments.0": [
"The attachments.0 field must be a file of type: png, jpg,
jpeg, webp."
]
}
}
b. Delete post
Endpoint /api/v1/posts/:id
Method DELETE
Request Headers:
Authorization: Bearer <token>
Dokumen LKS SMK Tingkat Provinsi Kalimantan Tengah Tahun 2024_Versi 0 @webtechindonesia
Kisi-kisi LKS Prov. Kalimantan Tengah Tahun 2024 Bidang Lomba Web Technologies
c. Get posts
Endpoint /api/v1/posts
Method GET
Request Headers:
Authorization: Bearer <token>
Params:
page (integer, minimum 0 and default 0)
size (integer, minimum 1 and default 10)
Dokumen LKS SMK Tingkat Provinsi Kalimantan Tengah Tahun 2024_Versi 0 @webtechindonesia
Kisi-kisi LKS Prov. Kalimantan Tengah Tahun 2024 Bidang Lomba Web Technologies
3. Following
a. Follow a user
Endpoint /api/v1/users/:username/follow
Method POST
Request Headers:
Authorization: Bearer <token>
Dokumen LKS SMK Tingkat Provinsi Kalimantan Tengah Tahun 2024_Versi 0 @webtechindonesia
Kisi-kisi LKS Prov. Kalimantan Tengah Tahun 2024 Bidang Lomba Web Technologies
b. Unfollow a user
Endpoint /api/v1/users/:username/unfollow
Method DELETE
Request Headers:
Authorization: Bearer <token>
Response
HTTP Status Code: 204
Success
Dokumen LKS SMK Tingkat Provinsi Kalimantan Tengah Tahun 2024_Versi 0 @webtechindonesia
Kisi-kisi LKS Prov. Kalimantan Tengah Tahun 2024 Bidang Lomba Web Technologies
Endpoint /api/v1/following
Method GET
Request Headers:
Authorization: Bearer <token>
Dokumen LKS SMK Tingkat Provinsi Kalimantan Tengah Tahun 2024_Versi 0 @webtechindonesia
Kisi-kisi LKS Prov. Kalimantan Tengah Tahun 2024 Bidang Lomba Web Technologies
4. Followers
a. Accept follow request
Endpoint /api/v1/users/:username/accept
Method PUT
Request Headers:
Authorization: Bearer <token>
Dokumen LKS SMK Tingkat Provinsi Kalimantan Tengah Tahun 2024_Versi 0 @webtechindonesia
Kisi-kisi LKS Prov. Kalimantan Tengah Tahun 2024 Bidang Lomba Web Technologies
Endpoint /api/v1/users/:username/followers
Method GET
Request Headers:
Authorization: Bearer <token>
Dokumen LKS SMK Tingkat Provinsi Kalimantan Tengah Tahun 2024_Versi 0 @webtechindonesia
Kisi-kisi LKS Prov. Kalimantan Tengah Tahun 2024 Bidang Lomba Web Technologies
5. User
a. Get users
Endpoint /api/v1/users
Method GET
Description Get all users that are not followed by logged in users. Logged in users should
be hidden in the list.
Request Headers:
Authorization: Bearer <token>
Dokumen LKS SMK Tingkat Provinsi Kalimantan Tengah Tahun 2024_Versi 0 @webtechindonesia
Kisi-kisi LKS Prov. Kalimantan Tengah Tahun 2024 Bidang Lomba Web Technologies
Endpoint /api/v1/users/:username
Method GET
Description For users to get detailed user data. Field posts should be hidden if the user is a
private user and the follow status is not following or is requested.
Request Headers:
Authorization: Bearer <token>
Dokumen LKS SMK Tingkat Provinsi Kalimantan Tengah Tahun 2024_Versi 0 @webtechindonesia
Kisi-kisi LKS Prov. Kalimantan Tengah Tahun 2024 Bidang Lomba Web Technologies
Dokumen LKS SMK Tingkat Provinsi Kalimantan Tengah Tahun 2024_Versi 0 @webtechindonesia
Kisi-kisi LKS Prov. Kalimantan Tengah Tahun 2024 Bidang Lomba Web Technologies
Register - If user logged in, the page will be redirected to own user profile page
- User can register account
- If register fails, display all of errors message
- If logged in user try to access this page, the page should be
redirected to own user profile page
Login - If user logged in, the page will be redirected to own user profile page
- User can login with existing credentials
- If login fails, display all of errors message
- If logged in user try to access this page, the page should be redirected
to own user profile page
Homepage - If user not logged in, the page will be redirected to login page
User information:
- See profile (full_name, username, bio)
- See posts list and count
- See followers list and count
- See following list and count
Follow/unfollow:
- User can follow another user
- User can unfollow a followed user
Posts section:
- Display user’s posts where the visited user is not a private account or
following account
- Users can delete their posts
- Display “The account is private” if logged in user is not following the
visited private user profile page
Dokumen LKS SMK Tingkat Provinsi Kalimantan Tengah Tahun 2024_Versi 0 @webtechindonesia
Kisi-kisi LKS Prov. Kalimantan Tengah Tahun 2024 Bidang Lomba Web Technologies
Create new - If user not logged in, the page will be redirected to login page
post - User can create new post with following fields:
- caption (text, required)
- attachments (file, can attach multiple files)
- If create new post fails, display all of errors message
ER DIAGRAM
ADDITIONAL EXPLANATION
MEDIA FILES
- Frameworks (laravel, react and vue)
Dokumen LKS SMK Tingkat Provinsi Kalimantan Tengah Tahun 2024_Versi 0 @webtechindonesia
Kisi-kisi LKS Prov. Kalimantan Tengah Tahun 2024 Bidang Lomba Web Technologies
Dokumen LKS SMK Tingkat Provinsi Kalimantan Tengah Tahun 2024_Versi 0 @webtechindonesia