This Kotlin-based application helps users explore, search, and interact with a wide variety of meals from around the world. The app leverages the food.csv file to provide smart suggestions, fun games, and healthy food options.
- The
food.csvfile contains detailed information about each meal including: name, description, ingredients, preparation time, and nutritional values. - The
Nutritioncolumn contains an array of values in the following order:- Calories, Total Fat, Sugar, Sodium, Protein, Saturated Fat, Carbohydrates
- About 2% of the meals in the dataset have
nulldescriptions.
[Click here to download the file]Once downloaded, place the file in the project's root directory.
-
Healthy Fast Food Suggestions
Suggest meals that can be prepared in 15 minutes or less and are low in fat, saturated fat, and carbs. -
Smart Meal Search
Search meals by name using a fast and typo-tolerant algorithm (e.g., Knuth-Morris-Pratt). -
Iraqi Meals Detector
Identify meals tagged as "iraqi" or with "Iraq" in the description. -
Easy Food Suggestion
Suggest 10 random easy-to-prepare meals (≤30 minutes, ≤5 ingredients, ≤6 steps). -
Guess the Preparation Time Game
Users guess the prep time of a random meal in 3 attempts with hints after each try. -
Sweets with No Eggs
Recommend random egg-free sweets; users can like (see full details) or dislike (get another suggestion). -
Keto Diet Meal Helper
Suggest keto-friendly meals one at a time, without repetition. -
Search Foods by Add Date
Input a date to list meal IDs and names added on that day, with exception handling for:- Wrong date format
- No meals found on the given date
-
Gym Helper
Input desired calories and protein to get matching or approximate meal suggestions. -
Explore Global Food Culture
Enter a country name to explore up to 20 random meals related to that country. -
Ingredient Guessing Game
Guess the correct ingredient among 3 choices for a random meal. 1000 points per correct guess. Game ends after 1 wrong or 15 correct guesses. -
I Love Potato
Show 10 random meals that include potatoes in their ingredients. -
So Thin Problem
Suggest a high-calorie meal (over 700 calories) using the same logic as the egg-free sweets feature. -
Seafood Protein Ranking
Display a list of seafood meals ranked by protein content (from highest to lowest), showing:- Rank
- Meal name
- Protein amount
-
Italian Group Meals
Suggest original Italian meals suitable for large groups, tagged with "for-large-groups".
Happy coding! 🎉