Creating Android Sports Scores and Fixtures Project in Java/Kotlin

| Page Views: 316

Top Android Sports Scores and Fixtures Open source Projects in Github for students

Happy new year all.We want to look at sports fixtures with regards to Fixture and Score keeping. These projects are learnable by students and are written in either Java or Kotlin.

What is Sports?

Sport (or sports) is all forms of usually competitive physical activity which, through casual or organised participation, aim to use, maintain or improve physical ability and skills while providing entertainment to participants, and in some cases, spectators, accoridng to Science Daily.

We have several types of sports. Sports can be classified into 4 main types of categories:

  1. Physical Sports. These include: Soccer, Basketball, Swimming, Tennis, Rugby, Hockey.
  2. Motorised Sports. These involve riding or driving vehicles like cars and motorbikes.
  3. Sports with animals. These involve riding animals like horses.
  4. Mind sports. These involve critical thinking skills. They include among others chess and AlphaGo, which computers recently beat humans.
Sports Scores

Sports do involve competition. One player competing against another. Or one team competing another team. Hence scores have to be kept and ultimately the winner will get some points. These points accumulate throughout what we call a season. A season normally is about a year.Then the team with the most points will win a trophy and some money.

Different sports have different leagues. A sports league is a group of sports teams that compete against each other in a specific sport..Here are some of the major leagues in the world and in different countries.:

  1. World Cup
  2. Olympique games.
  3. UEFA Champions Leagues
  4. Premier League
  5. NFL
  6. Formula One

There are also several apps that keep scores and fixtures. Let's look at several important ones:

  1. Livescore
  2. Flashscores
  3. Scores in Live
  4. Score board
  5. MSN Sports
  6. CBS Sports
  7. BBC Sports

(a). Rugby Ranker

Rugby Ranker is an android app that allows us view and predict the latest World Rugby Rankings. It's able to display the latest internation rankings, fixture and results. It makes use of the World Rugby Points Exchange system to predict changes in team positions and points.

This project was written Nicholas Rout in Kotlin.It makes use of some proven libraries and as we've said is entirely written in Kotlin.

Rugby Ranker

Rugby Ranker

Project Structure

This project is divided into different modules as follows:

  1. app module - This module is the main application.
  2. rankings - Contains code to handle rankings of the different rugby teams. The rankings both include men and women.
  3. prediction - Contains code not only to handle match predictions but also the prediction input view as well as predictions list adapter.
  4. matches - Contains code to handle matches. Matches can exist in various states like completed, and unplayed.
  5. info
  6. common - Contains code that can be imported and used by the other modules.
Libraries used

1. ktlint

An anti-bikeshedding Kotlin linter with built-in formatter.

A linter generally is a to tool that analyze source code to flag programming errors, bugs, stylistic errors, and suspicious constructs. ktlint is the most popular Kotlin linter and is configurationless.

2.Android Jetpack

A collection of Android software components to make it easier for you to develop great Android apps.

Specifically this project employs the following Architecture Components:

  1. Lifecycles - Manages your activity and fragment lifecycles.
  2. LiveData - Notifies views when underlying database changes.
  3. [ViewModel]() - Manages our UI-related data in a lifecycle-conscious way.
  4. Room - Fluent SQLite database access
  5. Paging - To Gradually load information on demand from our data source
  6. Navigation - Handles everything needed for our in-app navigation.
  7. WorkManager - Manages our Android background jobs.

3. Retrofit

Retrofit is a type safe HTTP client for java/kotlin and android.

4. Dagger2

Dagger2 is a fully static, compile-time dependency injection framework for both Java and Android.


No. Location Link
1. GitHub Direct Download
2. GitHub Browse
3. Google Play Install App
4. Github GIF demo

How do You Feel after reading this?

According to scientists, we humans have 8 primary innate emotions: joy, acceptance, fear, surprise, sadness, disgust, anger, and anticipation. Feel free to tell us how you feel about this article using these emotes or via the comment section.

About Me.

After completing his Software Engineering bachelors program, Oclemy(Clement Ochieng) these days is a man of two lives. At day he works for a startup in Nairobi, Kenya. At night he works tirelessly on building ProgrammingWizards TV, a tv channel for student coders and this website to help share the source code. In between he practices Meditation and Self actualization to help him keep balance. He also likes going for long solo walks to connect more with nature.


What do You Think

Previous Post Next Post