<commit_before><commit_msg>Added PlasmaPlayer by <NAME>.<commit_after>// PlasmaPlayer by <NAME>
// PPCG: http://codegolf.stackexchange.com/a/104933/11933

#ifndef __PLASMA_PLAYER_HPP__
#define __PLASMA_PLAYER_HPP__

#include "Player.hpp"

class PlasmaPlayer final : public Player
{
public:
	PlasmaPlayer(size_t opponent = -1) : Player(opponent) {}

	virtual Action fight()
	{
		// Imma Firin Mah Lazer!
		if (getAmmo() > 1) return plasma();

		// Imma Block Yur Lazer!
		if (getAmmoOpponent() > 1) return thermal();

		// Imma need more Lazer ammo
		return load();
	}
};

#endif // !__PLASMA_PLAYER_HPP__
{'fraction_non_alphanumeric': 0.13079470198675497, 'fraction_numerical': 0.023178807947019868, 'mean_word_length': 4.260869565217392, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3072110', 'n_tokens_mistral': 257, 'n_tokens_neox': 228, 'n_words': 55}