J'espère que cette image vous semble familière.
C'est l'un des fantômes de Pacman dans son état "vulnérable" , après que Pacman a mangé une pillule de pouvoir.
Le défi
Imaginez notre fantôme dans un petit cadre, en utilisant l'art ASCII. À l’échelle normale (pour en savoir plus sur cela plus tard), chaque carré de l’image ci-dessus doit correspondre à un caractère et le cadre doit comporter une séparation d’un caractère vers le haut et le bas et une séparation de deux caractères à gauche et à droite du fantôme. :
####################
# #
# #### #
# ######## #
# ########## #
# ############ #
# ############ #
# ### ## ### #
# #### ## #### #
# ############## #
# ############## #
# ## ## ## ## #
# # ## ## ## # #
# ############## #
# ## ### ### ## #
# # ## ## # #
# #
####################
Mais cela ne semble pas très joli. #
peut ne pas être le meilleur choix pour les pixels actifs. De plus, les cellules de personnage ne sont pas carrées, ce qui donne à notre ami un air plus fantomatique qu'il ne l'est déjà.
Donc, pour plus de flexibilité, l’image changera en fonction de trois paramètres d’entrée:
- Caractère à utiliser pour les pixels actifs;
- Facteur d'échelle horizontale;
- Facteur d'échelle verticale.
Par exemple, avec %
, 4
, 2
le ouput serait la meilleure image à la recherche
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%% %%%%
%%%% %%%%
%%%% %%%%%%%%%%%%%%%% %%%%
%%%% %%%%%%%%%%%%%%%% %%%%
%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%
%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%
%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%
%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%
%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%
%%%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%%%% %%%%
%%%% %%%% %%%%%%%% %%%%%%%% %%%% %%%%
%%%% %%%%
%%%% %%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Règles
Toutes les tâches intégrées sont autorisées.
Les entrées sont prises dans n'importe quel format et dans n'importe quel ordre. La première entrée ci-dessus (caractère pour les pixels actifs) est un caractère imprimable ASCII (codes 32 à 126).
L'espace de fin après chaque ligne ou les nouvelles lignes après la dernière ligne sont acceptables.
Code golf, le moins d'octets gagne.