Code Monkey home page Code Monkey logo

iart-feup's Introduction

Olá 👋   welcome to my profile

I am João Campos and I am a Software Enginner. I currently work in the digitalization of industry, mainly through augmented reality, digital twins of industrial processes and products, and real-time scene reconstruction. I am interested in developing efficient, fast, and slim systems, with the objective of optimizing usage of resources.

       

       

Tools

My Skills

Experienced in

My Skills

Learning

My Skills

       

Non-technical knowledge

Project Management
Documentation nitpicker

iart-feup's People

Watchers

 avatar

iart-feup's Issues

Promoting minion

When a minion moves to a corner it is promoted to master, and does not rotate.

Move piece

Move piece having in consideration its type.
Pieces can only move in the direction they are facing.
Minions can only move odd number of tiles, while Masters can move any number of tiles.
Pieces cannot go through others, but can land where and enemy piece is.
At the end of the movement the piece rotates.

End of game

The game ends when there are no minions left.
The winner is the player with most masters on board.
In case of a tie, the player who promoted the first master wins.

Check player pieces available

If a player has no pieces remaining, they are out of the game. If only one player remains in the game, they are the winner.

AI operations (balc)

Move Piece - Follow rules of movement, cost 1, points 0
Move Piece (without being captured) - Follow rules of movement and cannot be captured, cost 1, points 1
Capture Minion - Follow rules of movement and same line/column as enemy minion, cost 1, points 1
Capture Master - Follow rules of movement and same line/column as enemy master, cost 1, points 2
Promote Piece - Follow rules of movement and being the sides of the board, cost 1, points 2 (4 for first promotion)
Promote Piece (without being captured) - Follow rules of movement and being the sides of the board and not being captured, cost 1, points 3 (5 for first promotion)

This is a balanced AI, as it will attack while avoiding getting pieces captured in simple moves.

Create initial board

Create a board 6x6 or 8x8, representing the information necessary.
Piece position, direction, type, and player.

Capture piece

Ending a movement on and enemy piece captures the piece.
That piece is taken off the board.

adicionar slide 7 (ver comentários)

Resultados experimentais, recorrendo a tabelas/gráficos apropriados e comparando os diversos métodos, heurísticas, algoritmos e respetivas parametrizações para diferentes cenários/problemas.

AI operations (agro)

Move Piece - Follow rules of movement, cost 1, points 0
Capture Minion - Follow rules of movement and same line/column as enemy minion, cost 1, points 1
Capture Master - Follow rules of movement and same line/column as enemy master, cost 1, points 2
Promote Piece - Follow rules of movement and being the sides of the board, cost 1, points 2 (4 for first promotion)

This is an aggressive AI, as it focuses on attacking without avoiding being attacked.

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.