Skip to content

LederEfter is a casual online game with the theme of knowledge trivia in several fields, such as animals, plants, countries and the world. Players will be given 10 true or false questions in one game, where the 10 questions will be displayed randomly and of course the same for each player. This game can be played by up to 30 players.

farhnmh/Leder-Efter-Trivia

Repository files navigation

Leder-Efter-Trivia

Screenshot_23

LederEfter is a casual online game with the theme of knowledge trivia in several fields, such as animals, plants, countries and the world. Players will be given 10 true or false questions in one game, where the 10 questions will be displayed randomly and of course the same for each player. This game can be played by up to 30 players.

  1. Genre: MMORPG, Casual, Trivia
  2. Network Protocol: TCP
  3. Platform: Windows

Credit

(Author) 4210181002 Farhan Muhammad
(Author) 4210181010 Ilham Jalu Prakosa
(Course) Praktikum Desain Multiplayer Game Online

github instagram linkedin itchio

Resources Technology

Made With Unity 2019 LTS
Server Deployed On Google Cloud Service

Diagram-Overview

Flowchart-Explanation


Class-Diagram-Explanation


Game-Feature

This feature is used to replace multithreaded and multiclient functions. For the system, the way it works is to provide an identity like a packet delivery with its address, on every data sent or received by the server or each client. This will help with faster and more accurate data processing, due to packet giving and recognition.

1. Packets Identifier

In this section, the function below will provide several identities that will later be used when sending or receiving packages.

2. Packet Handlers

Meanwhile, in this section, the packet handlers function is one of the functions that will receive packets and their identities. Then it will give access to special functions to process each packet that has been received.

3. Data Transfer Function

Here are some functions that can be used to send data with the appropriate protocol, TCP or UDP. However, in this project we use a function that applies only the TCP protocol.

The database account used in this project is still in the form of a local database using a file with an .xml extension which will later be applied to the storage and data recall functions on the server side.

In this room management feature, we use the list function as the database implementation, where the system will store room data, as well as all clients in that room.

In this feature, all game progress data for each client will be stored in the account database previously described. All of this data will be displayed on the main menu in the game. Process Function:

  • one statement, players will be given 5 seconds to answer
  • one game, there will be 10 statements that must be answered
  • when the statement that must be answered is finished, then the game is over
  • the client will send the latest total score and total game data to the server
  • the server will update the data in its database

The core mechanics in this game are in the gameplay section, where in this game, each player or client is required to choose between true or false answers from several statements related to knowledge about animals, plants, countries and the world. Process Function:

  • the server sends data questions that will appear in one game
  • the question is displayed, and the client sends the control character to the server
  • if the player character chooses the correct answer, the server will send the score
  • when the game ends, the player will send the final score to the server
  • the latest score received by the server, will be entered into the server's database

Game-Documentation

Sign Up Sign In Account


(Screenshot Feature - Sign Up and Sign In Account)

Room Manager


(Screenshot Feature - Room Manager)

Progress Handler


(Screenshot Feature - Player's Progress Manager)

Trivia Gameplay


(Screenshot Feature - Trivia Singleplayer Gameplay)


(Screenshot Feature - Trivia Multiplayer Gameplay)

About

LederEfter is a casual online game with the theme of knowledge trivia in several fields, such as animals, plants, countries and the world. Players will be given 10 true or false questions in one game, where the 10 questions will be displayed randomly and of course the same for each player. This game can be played by up to 30 players.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published