Giter Club home page Giter Club logo

virtual-pet's Introduction

LinkedIn

My Virtual Pet

Welcome to my Virtual Pet.
As part of Manchester Codes Curriculum, we were asked to develop our own Tamagotchi inspired creature.

Table of Contents
  1. About The Project
  2. Installation
  3. Usage
  4. Contact

About The Project

This project takes place within our OOP module, in which we become very comfortable working with objects within objects, methods that modify objects and passing objects as other objects' arguments and properties.

At the moment, in the repo, you can find the code for the pet to work. You have to manually input the method that makes our pet age, and any other method, through the console. However, I am currently working on implementing Intervals and a GUI for the pet, including a general visual identity for the product.

(back to top)

Getting Started

To give the virtual pet a go, follow these steps:

Installation

  1. Clone the repo
    git clone https://github.com/C-Marfil/virtual-pet
  2. Install NPM packages
    npm install
  3. Create a new pet, new Pet('name');
    const name = new Pet('name');

(back to top)

Usage

Your pet will die at 30 years old - like we all did.

It will also die if hunger reaches 10 or fitness reaches 0.

This is a list of the methods you can call to control the pet:

  • growUp : Ages our pet 1 year, increases hunger by 5 and decreases fitness by 3.
  • walk: Increases fitness by 4.
  • PTSession: Increases fitness to its max value (10).
  • feedASnack: Decreases hunger by 3.
  • feedAPizza: Decreases hunger by 10.
  • checkUp: Returns the status of your pet as long as hunger or fitness is within the danger zone.
  • adoptChild: Our pet will adopt another existing pet as theirs.
  • haveBaby: Our pet will create another pet, which will become its child.

(back to top)

Contact

Carlos Marfil - LinkedIn - [email protected]

I am currently retraining at Manchester Codes to start my journey as a Software Developer. Technology has always been an important part of my life, and now I am able to commit my career to it.

If you are a potential employer, you should hire me because:

  • I have successfully completed Manchester Codes (If you are reading this past March 2023), you can have a look at their curriculum here.
  • I enjoy learning, so I always make time for research and keeping updated with this fast-evolving industry.
  • I pride myself in learning fast. I absorb complex concepts quickly and in detail.
  • I have 6 years of organisational experience; I know how to work with people and foster a company's culture.

Project Link: https://github.com/C-Marfil/virtual-pet

(back to top)

virtual-pet's People

Contributors

c-marfil avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

stuartcowley

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.