From 55189389434006655dd8d1be5909c5073d5b2930 Mon Sep 17 00:00:00 2001 From: REYNOLD TAKURA CHORUMA <153188514+Bhova45@users.noreply.github.com> Date: Wed, 15 Oct 2025 19:14:37 +0200 Subject: [PATCH 1/2] Update about-me.ipynb --- about-me.ipynb | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/about-me.ipynb b/about-me.ipynb index 1e8b6d4..35d8ec7 100644 --- a/about-me.ipynb +++ b/about-me.ipynb @@ -20,24 +20,32 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 2, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Hi! My name is Reynold. I’m excited to learn because i am interested in AI and Data Analytics. A fun fact about me is: sport watching and taking walks in nature.\n" + ] + } + ], "source": [ "# About Me\n", "# Please fill in the following details.\n", "\n", - "name = \"Your Name Here\"\n", - "reason = \"Why you are interested in AI, Data Analytics, or Data Science\"\n", - "fun_fact = \"One fun fact about yourself or a goal for this course\"\n", + "name = \"Reynold\"\n", + "reason = \"Interested in learning AI and Data Analytics\"\n", + "fun_fact = \"watching sport and taking walks out in nature and taking pics\"\n", "\n", - "print(f\"Hi! My name is {name}. I’m excited to learn because {reason}. A fun fact about me is: {fun_fact}.\")" + "print(f\"Hi! My name is {'Reynold'}. I’m excited to learn because {'i am interested in AI and Data Analytics'}. A fun fact about me is: {'sport watching and taking walks in nature'}.\")" ] } ], "metadata": { "kernelspec": { - "display_name": "Python 3", + "display_name": "base", "language": "python", "name": "python3" }, @@ -51,7 +59,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.6" + "version": "3.13.5" } }, "nbformat": 4, From 6e0cacaa968f3825f3516287e15125741d2a91c4 Mon Sep 17 00:00:00 2001 From: REYNOLD TAKURA CHORUMA <153188514+Bhova45@users.noreply.github.com> Date: Sun, 19 Oct 2025 16:01:45 +0200 Subject: [PATCH 2/2] Created using Colab --- Project_01.ipynb | 176 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 176 insertions(+) create mode 100644 Project_01.ipynb diff --git a/Project_01.ipynb b/Project_01.ipynb new file mode 100644 index 0000000..41a2a01 --- /dev/null +++ b/Project_01.ipynb @@ -0,0 +1,176 @@ +{ + "nbformat": 4, + "nbformat_minor": 0, + "metadata": { + "colab": { + "provenance": [], + "include_colab_link": true + }, + "kernelspec": { + "name": "python3", + "display_name": "Python 3" + }, + "language_info": { + "name": "python" + } + }, + "cells": [ + { + "cell_type": "markdown", + "metadata": { + "id": "view-in-github", + "colab_type": "text" + }, + "source": [ + "\"Open" + ] + }, + { + "cell_type": "markdown", + "source": [ + "# QUEST: ESCAPE ROOM - MINI PROJECT\n", + "### IRONHACK DATA BOOTCAMP\n", + "\n", + "Welcome to escape room quest\n", + "\n", + "You wake up in a couch in a misteryous house with locked doors.\n", + "Your mission: Find the keys, unlock each room, and escape to freedom!\n", + "\n", + "In this notebook we start by building the data structures that define the game world, wich are: rooms, objects, keys and doors.\n", + "\n", + "# DAY 1\n", + "\n", + "## Objectives\n", + "\n", + "### Today's goal is to create lists and dictionarys that will serve us the foundation of this base game.\n", + "\n", + "### We will:\n", + "### - Define all rooms and their contents (Doors, furnitures and keys)\n", + "### - Create global list for actions and inventory\n", + "### - Organize the data clearer so it can be used by functions in the next steps\n", + "\n", + "# ------------------------------------------------------\n", + "\n", + "\n", + "# QUEST: ESCAPE ROOM - DATA STRUCTURES\n", + "## Ironhack data bootcamp | Dev Team - Day 1\n", + "# ------------------------------------------------------\n", + "\n", + "\n", + "\n", + "# This section defines all dictionarys and lists\n", + "# Used to model the Escape Room game world\n", + "\n", + "# ------------------------------------------------------\n", + "# ------------------------------------------------------\n" + ], + "metadata": { + "id": "SHcf1oE4dt3m" + } + }, + { + "cell_type": "code", + "source": [ + "# Dictionary: Space\n", + "# Each key in this dictionary represents a room; each value is a list of objects, doors and keys\n", + "\n", + "Space = {\n", + " \"Game Room\": ['couch', 'piano', 'door A', 'key to door A'],\n", + " \"Bedroom 1\": ['queen bed', 'door A', 'door B', 'door C', 'key to door B'],\n", + " \"Bedroom 2\": ['double bed', 'door B', 'dresser', 'key to door D', 'Key to door C'],\n", + " \"Living Room\": [\"dining table\", 'door C', 'door D'],\n", + " \"Outside\": [\"Freedom\"]\n", + "}\n", + "\n", + "# List: Actions available to the player\n", + "\n", + "Actions = ['explore', 'examine', 'take the key', 'unlock the door', 'enter the room']\n", + "\n", + "# List: Inventory of the aquired keys to unlock the doors\n", + "\n", + "Inventory = []\n", + "\n", + "# List: Furniture list for all the items to be examined in order to find the keys\n", + "\n", + "Examine Furniture = ['examine couch', 'examine piano', 'examine queen bed', 'examine double bed', 'examine dresser', 'examine dining table']\n", + "\n", + "# Dictionary: Game State\n", + "# Keeps track of where the player is, what keys they have, and which doors are unlocked.\n", + "\n", + "Game State = {\n", + " \"current_room\": \"Game Room\",\n", + " \"inventory\"\n", + "}" + ], + "metadata": { + "id": "1fjLZrUrkm2n" + }, + "execution_count": null, + "outputs": [] + }, + { + "cell_type": "code", + "source": [], + "metadata": { + "id": "Dk2ZVlyTpy-W" + }, + "execution_count": null, + "outputs": [] + }, + { + "cell_type": "markdown", + "source": [], + "metadata": { + "id": "fCdgacm-iM6M" + } + }, + { + "cell_type": "code", + "source": [], + "metadata": { + "id": "iWY_b5A_plZK" + }, + "execution_count": null, + "outputs": [] + }, + { + "cell_type": "markdown", + "source": [], + "metadata": { + "id": "u6s0QHXViNYN" + } + }, + { + "cell_type": "markdown", + "source": [], + "metadata": { + "id": "G7ol7-M_iNQ7" + } + }, + { + "cell_type": "code", + "source": [ + "DO NOT DELETE" + ], + "metadata": { + "id": "MK3xfhNfiEHD", + "colab": { + "base_uri": "https://localhost:8080/", + "height": 106 + }, + "outputId": "ea9779f5-9ae8-4f50-eeed-2b13cd693fa6" + }, + "execution_count": null, + "outputs": [ + { + "output_type": "error", + "ename": "SyntaxError", + "evalue": "invalid syntax (ipython-input-2503878181.py, line 1)", + "traceback": [ + "\u001b[0;36m File \u001b[0;32m\"/tmp/ipython-input-2503878181.py\"\u001b[0;36m, line \u001b[0;32m1\u001b[0m\n\u001b[0;31m DO NOT DELETE\u001b[0m\n\u001b[0m ^\u001b[0m\n\u001b[0;31mSyntaxError\u001b[0m\u001b[0;31m:\u001b[0m invalid syntax\n" + ] + } + ] + } + ] +} \ No newline at end of file